RFR 4947890 : Minimize JNI upcalls in system property initialization
Roger Riggs
Roger.Riggs at oracle.com
Fri Nov 16 18:49:27 UTC 2018
Updates to include the suggestions made by Mandy and Brent:
- Move the build-time properties from native code to the
VersionProps.java.template
including java.vendor.* and java.specification.* properties, plus
the java.class.version (major.minor)
This included two changes to the build that generates source of
VersionProps.java.
- Updated the StaticProperty initialization to be explicitly invoked
by initProperties.
- Makes separate calls to native to retrieve the platform properties
and VM/command line properties
- (The hotspot function for JVM_GetProperties are unchanged)
Webrev:
http://cr.openjdk.java.net/~rriggs/webrev-props-only-raw/
Issue:
https://bugs.openjdk.java.net/browse/JDK-4947890
Thanks, Roger
More information about the build-dev
mailing list