RFR: 8264881: Remove the old development option MemProfiling

David Holmes david.holmes at oracle.com
Thu Apr 8 10:19:21 UTC 2021


On 8/04/2021 4:04 pm, Yi Yang wrote:
> On Thu, 8 Apr 2021 05:38:56 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> The UseNewCode flags are there as a development aid so that you can
>> conditionally enable changed logic during development without needing to
>> add a new runtime flag just for that. It can be very useful for gating
>> changes when doing performance runs. No code ever gets committed that
>> actually uses them though.
>>
>> So no, please do not delete them. :)
>>
>> Thanks,
>> David
> 
> Got it. Thank you David, you are the OpenJDK encyclopedia. :)
> (PS: it looks like they are wrongly marked as product flags)

No that is deliberate as well. Lets say I'm doing a performance test on 
two variants of a fix. I use UseNewCode to select between them, but I 
want to do the performance run on a product build.

Cheers,
David

> -------------
> 
> PR: https://git.openjdk.java.net/jdk/pull/3393
> 


More information about the hotspot-dev mailing list