Pls review 7116481 (S)

Dr Andrew John Hughes ahughes at
Wed Nov 30 09:19:22 PST 2011

On 15:32 Tue 29 Nov     , Paul Hohensee wrote:
> 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:
> Tested from the command line.  Hotspot accepts this:
> -XX:+UnlockCommercialVMOptions -XX:+FlightRecorder
> and doesn't accept this
> -XX:+FlightRecorder
> Thanks,
> Paul

Is it really necessary to add this into the open code base?  Would this
not be more appropriate in whatever proprietary fork you use at Oracle?

'Commercial' is also the wrong word to use, as this is nothing
non-commercial about the rest of the OpenJDK code base.  What you're
referring to are proprietary features which you're not releasing the
source code to.

Andrew :)

Free Java Software Engineer
Red Hat, Inc. (

Support Free Java!
Contribute to GNU Classpath and IcedTea
PGP Key: 248BDC07 (
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : 

More information about the hotspot-dev mailing list