Another question, if I may?

David Holmes david.holmes at oracle.com
Thu Dec 21 12:20:47 UTC 2017


On 21/12/2017 8:15 PM, Erik Joelsson wrote:
> Adding hotspot-dev.
> 
> /Erik
> 
> 
> On 2017-12-21 10:43, Ted Neward wrote:
>> 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 

Yes that should suffice.

>> (“PrintTedMessage”) isn’t recognized when I “make hotspot”; it gets 
>> kicked back out with the “Unrecognized flag; did you mean…?” error.

Why would "make hotspot" be using your new flag? Are you trying to apply 
your flag to the newly built VM during the build process? I'm not even 
sure if "make hotspot" would use the new VM. I always do a full build: 
make images

David

>>
>>
>> Is there something I’m missing? Does the flag need to be registered 
>> someplace else as well?
>>
>>
>> Ted Neward
>>
>> Author, Speaker, Mentor
>>
>> http://www.newardassociates.com
>>
>> t: @tedneward | m: (425) 647-4526
>>
> 


More information about the hotspot-dev mailing list