ReplayCompiles as non-develop switch ?

Vladimir Kozlov vladimir.kozlov at oracle.com
Tue Aug 16 19:00:20 UTC 2022


On 8/16/22 10:05 AM, Thomas Stüfe wrote:
> Hi,
> 
> Is there a particular reason why ReplayCompiles needs to be a develop switch? Or was it just not considered useful 
> without asserts?

It replays compilation which we want to debug in debug VM. Why do you want it be `product` flag?

We have DumpReplayDataOnError product flag to dump compiler replay data from product VM:
https://github.com/openjdk/jdk/blob/master/src/hotspot/share/compiler/compiler_globals.hpp#L331

Vladimir

> 
> Thanks, Thomas


More information about the hotspot-compiler-dev mailing list