Pls review 7116481 (S)
Paul Hohensee
paul.hohensee at oracle.com
Tue Nov 29 12:32:21 PST 2011
7116481: Commercial features in Hotspot must be gated by a switch
Commercial features (those for which Oracle charges for production use,
though
not for development and/or evaluation) must be gated by a "master" -XX
switch.
It works in the same manner as the existing UnlockDiagnosticVMOptions and
UnlockExperimentalVMOptions switches, so the new switch's name is
UnlockCommercialVMOptions. A commercial() macro designates which
switches are gated by UnlockCommercialVMOptions. I added a single
commercial() -XX flag named FlightRecorder, which does nothing, but
will eventually gate use of the Java Flight Recorder now under development.
Webrev here:
http://cr.openjdk.java.net/~phh/7116481/
Tested from the command line. Hotspot accepts this:
-XX:+UnlockCommercialVMOptions -XX:+FlightRecorder
and doesn't accept this
-XX:+FlightRecorder
Thanks,
Paul
More information about the hotspot-dev
mailing list