KONNO Kazuhiro

Results 298 comments of KONNO Kazuhiro

Issue #19456 (HeapHogLoadTest with Java 22 on AArch64 macOS) might be a dup of this issue.

Call stack is unavailable in the javacore file: ``` 1XMCURTHDINFO Current thread 3XMTHREADINFO "load-4" J9VMThread:0x000000013413B500, omrthread_t:0x000000013410A958, java/lang/Thread:0x00000002801E1028, state:R, prio=5 3XMJAVALTHREAD (java/lang/Thread getId:0x1F, isDaemon:false) 3XMJAVALTHRCCL jdk/internal/loader/ClassLoaders$AppClassLoader(0x000000028004F890) 3XMTHREADINFO1 (native thread ID:0x22D9A36F, native...

2 failures in a [40x Grinder job](https://openj9-jenkins.osuosl.org/job/Grinder/3784/). Call stack is unavailable in the javacore files, in the same way as above.

You cannot walk the Java stack in the core file from the failure above. Jdmpview fails with CorruptDataException as shown below. ``` > !threads !stack 0x13e08e100 !j9vmthread 0x13e08e100 !j9thread 0x13e00de50...

50x Grinder job with the option `-Xjit:exclude={java/lang/invoke/LambdaForm*.*}` finished successfully: https://openj9-jenkins.osuosl.org/job/Grinder/3791/ On the other hand, jobs with the following options failed: - `-Xjit:exclude={java/lang/invoke/LambdaForm*.invokeStatic*}` - `-Xjit:exclude={java/lang/invoke/LambdaForm*.invokeWithArguments*}` - `-Xjit:exclude={java/lang/invoke/LambdaForm*.invokeE*}` - `-Xjit:exclude={java/lang/invoke/LambdaForm*.invoke_*}` - `-Xjit:exclude={java/lang/invoke/LambdaForm*.invoke\(*}`

Disabling compilation of `invokeVirtual()` by `-Xjit:exclude={java/lang/invoke/LambdaForm*.invokeV*}` seems to work. There are more than 10 variations of `invokeVirtual()` in this testcase, however.

- Running HeapHogLoadTest_5m_0 with Java 11 on AArch64 macOS: Passed - Running HeapHogLoadTest_5m_0 with Java 17 on AArch64 macOS: Failed (this issue) - Running HeapHogLoadTest_5m_0 with Java 21 on AArch64...

I thought I would be able to reproduce the failure by `-Xjit:limit={java/lang/invoke/LambdaForm*.invokeV*}` based on the results with `exclude` above, but my attempt did not work as expected: Grinder jobs with...

The failure disappears when running with `-Xjit:{java/lang/invoke/LambdaForm*.invokeVirtual*}(disableRecognizedCallTransformer)`

A 50x Grinder job finished successfully by disabling the optimization for `MethodHandle.linkToVirtual()` in J9RecognizedCallTransformer.cpp. https://github.com/knn-k/openj9/commit/5055f4e63608432311d59398ef639963c5b3c086