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.
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.
- duplicates
-
JDK-8178991 Excessive amounts of calls to Flag::find_flag during startup
-
- Closed
-
- relates to
-
JDK-8178991 Excessive amounts of calls to Flag::find_flag during startup
-
- Closed
-