[aarch64-port-dev ] Another AArch64 reproducer - jvmtiEnv->ForceEarlyReturn*() called from JVM TI agent cause HS crash
Pavel Tisnovsky
ptisnovs at redhat.com
Fri Sep 20 08:48:54 PDT 2013
Hi Andrew,
here's another AArch64 reproducer which uses jvmtiEnv->ForceEarlyReturn*() functionality
from JVM TI interface. The reproducer is not complicated:
1) JVM TI agent setup breakpoints for all methods in Test33.java class which have name appropriate to
regexp *method(). I used the easiest solution so please don't add/remove any lines in Test33.java,
because line numbers are hardcoded in the agent in the array breakpoints.
2) breakpoints are set to the second line/second statement on all those methods.
3) Test33 is started and JVM TI agent is connected to JVM on startup.
4) when some breakpoint is reached, the corresponding jvmtiEnv->ForceEarlyReturn*() function
is called (there are six functions depending of the type which is to be returned)
5) -> only first line/statement of each method should be executed, but in case of AArch64 JVM
I got a HS crash (similar when I used JDWP instead of JVM TI).
Please note that you would need to update the script compile.sh and test_aarch64.sh because
there's a need to set a proper path to AArch64 JDK.
Cheers,
Pavel
More information about the aarch64-port-dev
mailing list