The accessor methods in constantpool.cpp were previously cleaned up to allow 
for different types of indices to be used, distinguishing them by the bytecode. 
This patch adds the same changes to the hotspot serviceability code. Verified 
with tier 1-5 tests.

-------------

Commit messages:
 - 8309673: Refactor ref_at methods in Serviceability ConstantPool

Changes: https://git.openjdk.org/jdk/pull/14385/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14385&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8309673
  Stats: 95 lines in 4 files changed: 32 ins; 25 del; 38 mod
  Patch: https://git.openjdk.org/jdk/pull/14385.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14385/head:pull/14385

PR: https://git.openjdk.org/jdk/pull/14385

Reply via email to