On Thu, 15 Jun 2023 23:20:56 GMT, Chris Plummer <cjplum...@openjdk.org> wrote:

>> Ashutosh Mehra has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Address review comments by plummercj
>>   
>>   Signed-off-by: Ashutosh Mehra <asme...@redhat.com>
>
> Can you run the tests in `test/hotspot/jtreg/serviceability/sa` and 
> `test/jdk/sun/tools/jhsdb/`? thanks.

@plummercj I ran `test/hotspot/jtreg/serviceability/sa` and 
`test/jdk/sun/tools/jhsdb/` . Thanks for pointing out.
I see only one failure - 
`test/hotspot/jtreg/serviceability/sa/TestRevPtrsForInvokeDynamic.java`. 
However this test failed with the same exception without this patch as well. 
Reason for the failure is:


 stderr: [Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 
-16 19
        at 
jdk.hotspot.agent/sun.jvm.hotspot.oops.ResolvedIndyArray.getAt(ResolvedIndyArray.java:60)
        at 
jdk.hotspot.agent/sun.jvm.hotspot.oops.ConstantPoolCache.getIndyEntryAt(ConstantPoolCache.java:91)
        at 
jdk.hotspot.agent/sun.jvm.hotspot.oops.ConstantPool.to_cp_index(ConstantPool.java:261)
        at 
jdk.hotspot.agent/sun.jvm.hotspot.oops.ConstantPool.getNameAndTypeRefIndexAt(ConstantPool.java:343)
        at 
jdk.hotspot.agent/sun.jvm.hotspot.oops.ConstantPool.getSignatureRefAt(ConstantPool.java:303)
        at 
jdk.hotspot.agent/sun.jvm.hotspot.oops.GenerateOopMap.doMethod(GenerateOopMap.java:1730)
        at 
jdk.hotspot.agent/sun.jvm.hotspot.oops.GenerateOopMap.interp1(GenerateOopMap.java:1385)
        at 
jdk.hotspot.agent/sun.jvm.hotspot.oops.GenerateOopMap.interpBB(GenerateOopMap.java:802)
        at 
jdk.hotspot.agent/sun.jvm.hotspot.oops.GenerateOopMap.interpAll(GenerateOopMap.java:1108)
        at 
jdk.hotspot.agent/sun.jvm.hotspot.oops.GenerateOopMap.doInterpretation(GenerateOopMap.java:981)
        at 
jdk.hotspot.agent/sun.jvm.hotspot.oops.GenerateOopMap.computeMap(GenerateOopMap.java:2198)
        at 
jdk.hotspot.agent/sun.jvm.hotspot.interpreter.OopMapForCacheEntry.computeMap(OopMapForCacheEntry.java:80)
        at 
jdk.hotspot.agent/sun.jvm.hotspot.interpreter.OopMapCacheEntry.fill(OopMapCacheEntry.java:53)
        at 
jdk.hotspot.agent/sun.jvm.hotspot.oops.Method.getMaskFor(Method.java:257)
        at 
jdk.hotspot.agent/sun.jvm.hotspot.runtime.Frame.oopsInterpretedDo(Frame.java:590)
        at 
jdk.hotspot.agent/sun.jvm.hotspot.runtime.Frame.oopsDo(Frame.java:442)
        at 
jdk.hotspot.agent/sun.jvm.hotspot.utilities.ReversePtrsAnalysis.doStack(ReversePtrsAnalysis.java:297)
        at 
jdk.hotspot.agent/sun.jvm.hotspot.utilities.ReversePtrsAnalysis.run(ReversePtrsAnalysis.java:102)
        at 
TestRevPtrsForInvokeDynamic.computeReversePointers(TestRevPtrsForInvokeDynamic.java:60)
        at TestRevPtrsForInvokeDynamic.main(TestRevPtrsForInvokeDynamic.java:92)


It looks like this test is already in the ProblemList because of 
[JDK-8241235](https://bugs.openjdk.org/browse/JDK-8241235).

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

PR Comment: https://git.openjdk.org/jdk/pull/14495#issuecomment-1594974422

Reply via email to