You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dump.setDumpOptions() did not work when I passed the below option: "java:events=throw,filter=java/lang/NullPointerException#DumpTest.main*,range=1..1"
After investigation, I found -Xdump:dynamic has to be specified if throw/catch events are configured through Dump.setDumpOptions() when JIT is ON, whereas this option is not required when we set the above option on command line using -Xdump
Documentation for com.ibm.jvm.Dump API needs to be updated. Also update the user guide as required.
The text was updated successfully, but these errors were encountered:
The OpenJ9DiagnosticsMXBean internally uses Dump.setDumpOptions() to dynamically configure dump options and trigger dumps on a remote application. At present we need to specify -Xdump:dynamic during the application startup for dynamically configuring throw/catch events using Dump.setDumpOptions() to work, which is not good as the application has to be restarted and the whole purpose of dynamic configuration is lost.
Can we enable -Xdump:dynamic option by default when JIT is ON and the user specified throw/catch events using Dump.setDumpOptions() ?
Dump.setDumpOptions() did not work when I passed the below option:
"java:events=throw,filter=java/lang/NullPointerException#DumpTest.main*,range=1..1"
After investigation, I found -Xdump:dynamic has to be specified if throw/catch events are configured through Dump.setDumpOptions() when JIT is ON, whereas this option is not required when we set the above option on command line using -Xdump
Documentation for com.ibm.jvm.Dump API needs to be updated. Also update the user guide as required.
The text was updated successfully, but these errors were encountered: