Request for review: 8011773: Some tests on Interned String crashed JVM with OOM

harold seigel harold.seigel at oracle.com
Wed Apr 24 08:26:26 PDT 2013


Hi,

Please review this fix for bug 8011773.

Summary: Method as_unicode_string() now detects the memory allocation 
failure and throws an OutOfMemoryError exception.  This lets its callers 
decide whether to abort the VM or allow the exception to be caught and 
execution continue.

Open webrev at: http://cr.openjdk.java.net/~hseigel/bug_8011773/
<http://cr.openjdk.java.net/%7Ehseigel/bug_8011773/>
Bug Link at: http://bugs.sun.com/view_bug.do?bug_id=8011773

Regression testing was done using JCK lang and vm tests, jtReg tests, 
JPRT, and ute vm.quick.testlist tests.  Also, as_unicode_string() was 
temporarily changed to throw OutOfMemoryError exceptions in order to 
verify that the expected behavior occurred.

Thanks, Harold


More information about the hotspot-runtime-dev mailing list