RFR (S): 8004018: Remove old initialization flags
Erik Helin
erik.helin at oracle.com
Thu Jan 10 22:46:06 PST 2013
Hi all,
this change removes the three developer flags:
- InitializeJavaLangSystem
- InitializeJavaLangString
- InitializeJavaLangExceptionsErrors
The flags InitializeJavaLangSystem and InitalizeJavaLangString crashes
the VM when they are set to false (see Testing).
The flag (InitializeJavaLangExceptionsErrors) does not crash the VM when
just running "-version". The RFE suggests that it should be removed, so
I went ahead and removed it. Should we keep it?
Webrev:
http://cr.openjdk.java.net/~ehelin/8004018/webrev.00/
RFE:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8004018
Testing:
Running a fastdebug build results in the following:
java -XX:-InitializeJavaLangSystem -version
# A fatal error has been detected by the Java Runtime Environment
# Internal Error (linkResolver.cpp:902)
# assert(resolved_method->method_holder()->is_linked()) failed: must
be linked
java -XX:-InitializeJavaLangString -version
# A fatal error has been detected by the Java Runtime Environment
# Internal Error (linkResolver.cpp:902)
# assert(resolved_method->method_holder()->is_linked()) failed: must
be linked
JPRT
Thanks,
Erik
More information about the hotspot-runtime-dev
mailing list