RFR: 8293287 add ReplayReduce flag [v3]
Dean Long
dlong at openjdk.org
Fri Sep 9 01:35:27 UTC 2022
On Thu, 8 Sep 2022 07:46:23 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:
> I'm wondering if this functionality should really be part of the VM. Wouldn't a simple script that regex-parses the compile statement of the replay file, iteratively removes inlines and runs replay compilation to check if the issue still reproduces, be more powerful and easier to maintain? It could be combined with also removing class loading statements.
Writing a script was my first attempt, but getting the parsing right would have taken more time than I wanted to invest, so I did what was quickest and easiest. I found it useful, so I thought checking it in might be useful to others, considering the code changes are small.
One problem with an external script is that replay won't normally create a new replay file if -XX:+ReplayCompiles is on. So, some kind of JVM change is required.
-------------
PR: https://git.openjdk.org/jdk/pull/10134
More information about the hotspot-dev
mailing list