JDK-8133127 : methods related to constant pool
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P1
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-08-06
  • Updated: 2015-09-29
  • Resolved: 2015-09-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Fixed
Description
1  CC"resolveConstantInPool",                        CC"("METASPACE_CONSTANT_POOL"I)"OBJECT,                                   FN_PTR(resolveConstantInPool)},
2  CC"resolvePossiblyCachedConstantInPool",          CC"("METASPACE_CONSTANT_POOL"I)"OBJECT, FN_PTR(resolvePossiblyCachedConstantInPool)},
3  CC"resolveTypeInPool",                          CC"("METASPACE_CONSTANT_POOL"I)"METASPACE_KLASS,                          FN_PTR(resolveTypeInPool)},
4  CC"lookupKlassInPool",                            CC"("METASPACE_CONSTANT_POOL"I)"METASPACE_KLASS,                          FN_PTR(lookupKlassInPool)},
5  CC"resolveInvokeDynamic",                         CC"("METASPACE_CONSTANT_POOL"I)V",                                        FN_PTR(resolveInvokeDynamic)},
6 HotSpotConstantPool getConstantPool(Object base, long displacement);

Comments
Go to complex test cases JDK-8133016 1 CC"lookupNameInPool", CC"("METASPACE_CONSTANT_POOL"I)"STRING, FN_PTR(lookupNameInPool)}, 2 CC"lookupNameAndTypeRefIndexInPool", CC"("METASPACE_CONSTANT_POOL"I)I", FN_PTR(lookupNameAndTypeRefIndexInPool)}, 3 CC"lookupSignatureInPool", CC"("METASPACE_CONSTANT_POOL"I)"STRING, FN_PTR(lookupSignatureInPool)}, 4 CC"lookupKlassRefIndexInPool", CC"("METASPACE_CONSTANT_POOL"I)I", FN_PTR(lookupKlassRefIndexInPool)}, 5 CC"lookupAppendixInPool", CC"("METASPACE_CONSTANT_POOL"I)"OBJECT, FN_PTR(lookupAppendixInPool)}, 6 CC"lookupMethodInPool", CC"("METASPACE_CONSTANT_POOL"IB)"METASPACE_METHOD, FN_PTR(lookupMethodInPool)}, 7 CC"resolveField", CC"("METASPACE_CONSTANT_POOL"IB[J)"METASPACE_KLASS, FN_PTR(resolveField)}, 8 CC"resolveInvokeHandle", CC"("METASPACE_CONSTANT_POOL"I)V", FN_PTR(resolveInvokeHandle)}, And complex testcase including cache access for 2 CC"resolvePossiblyCachedConstantInPool", CC"("METASPACE_CONSTANT_POOL"I)"OBJECT, FN_PTR(resolvePossiblyCachedConstantInPool)},
24-09-2015

Methods resolveInvokeHandle (needs cp from MethodHandle subclass) resolvePossiblyCachedConstantInPool (needs cp cache access) constantPoolRemapInstructionOperandFromCache (needs cp cache access) go to JDK-8133016
24-09-2015

Method HotSpotResolvedJavaMethodImpl getResolvedJavaMethodAtSlot(Class<?>holder, int slot) should not be here
24-09-2015

CompilerToVM was updated and has 2 more methods related to constantpool: HotSpotResolvedJavaMethodImpl getResolvedJavaMethodAtSlot(Class<?>holder, int slot) HotSpotConstantPool getConstantPool(Object base, long displacement);
17-09-2015