RFR (S): 8004018: Remove old initialization flags
Stefan Karlsson
stefan.karlsson at oracle.com
Fri Jan 11 01:02:27 PST 2013
Looks good.
StefanK
On 01/11/2013 07:46 AM, Erik Helin wrote:
> 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