RFR 8211821: PrintStringTableStatistics crashes JVM

Harold David Seigel harold.seigel at oracle.com
Wed Oct 10 20:44:21 UTC 2018


Hi,

Please review this fix for JDK-8211821.  The change fixes the problem by 
moving the call to exit_globals() in Threads::destroy_vm() to before the 
thread gets deleted.  Although exit_globals() deletes tty, this is not a 
problem because neither deleting thread nor freeing the 
jvmci_old_thread_counters use tty.

Open Webrev: http://cr.openjdk.java.net/~hseigel/bug_8211821/webrev/

JBS Bug:  https://bugs.openjdk.java.net/browse/JDK-8211821

The fix was tested by running the new test and Mach5 tiers 1 and 2 tests 
and builds on Linux-x64, Windows, and Mac OS X, running tiers 3-5 tests 
on Linux-x64, and by running JCK-12 API, Lang and VM tests on Linux-x64.

Thanks, Harold



More information about the hotspot-runtime-dev mailing list