Pls review 7116481 (S)

Paul Hohensee paul.hohensee at
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, 
not for development and/or evaluation) must be gated by a "master" -XX 
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:

Tested from the command line.  Hotspot accepts this:

-XX:+UnlockCommercialVMOptions -XX:+FlightRecorder

and doesn't accept this




More information about the hotspot-dev mailing list