JDK-8180614 : Skip range and constraint checks on non-existent flags
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9,10
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2017-05-18
  • Updated: 2020-01-17
  • Resolved: 2017-05-26
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10
10 b21Fixed
Related Reports
Duplicate :  
Relates :  
Description
JEP-245 code is currently looking up non-product and lp64 flags to check valid ranges and constraints, even on builds where they are emitted as constants (product and 32-bit respectively)

Skipping such flags reduce the overhead of checking flags during startup by 15% on 64-bit, and skipping 64-bit only flags improves the situation even more on 32-bit builds. 
Comments
Changeset in the consolidated repo http://hg.openjdk.java.net/jdk/jdk/rev/22e71ef4a16a
17-01-2020