RFR: 8216995: Clean up JFR command line processing
Markus Gronlund
markus.gronlund at oracle.com
Tue Jan 15 09:34:57 UTC 2019
Hi Claes,
Looks good, thanks for fixing this.
Markus
-----Original Message-----
From: Claes Redestad
Sent: den 14 januari 2019 18:34
To: Hotspot dev runtime <hotspot-runtime-dev at openjdk.java.net>; hotspot-jfr-dev at openjdk.java.net
Subject: RFR: 8216995: Clean up JFR command line processing
Hi,
JFR setup could be simplified by using macros defined in globals_extension.hpp rather than use JVMFlag directly.
On top of looking cleaner this avoids JVMFlag::find_flag, which does a linear scan of all flags. So a tiny startup optimization (detectable only with special goggles).
Webrev: http://cr.openjdk.java.net/~redestad/8216995/open.00/
Bug: https://bugs.openjdk.java.net/browse/JDK-8216995
Testing: tier1-2 (ongoing)
Thanks!
/Claes
More information about the hotspot-jfr-dev
mailing list