Another question, if I may?

Ted Neward ted at
Thu Dec 21 09:43:58 UTC 2017

What’s the steps necessary to add a new -XX flag? I’d assumed (naively) that all that was required was to add it to the list of macro’ed flags in hotspot/share/runtime/globals.hpp, but my new flag (“PrintTedMessage”) isn’t recognized when I “make hotspot”; it gets kicked back out with the “Unrecognized flag; did you mean…?” error.


Is there something I’m missing? Does the flag need to be registered someplace else as well?


Ted Neward

Author, Speaker, Mentor

t: @tedneward | m: (425) 647-4526

More information about the build-dev mailing list