RFR: 8276901: Implement UseHeavyMonitors consistently [v2]
Roman Kennke
rkennke at openjdk.java.net
Thu Nov 11 17:34:34 UTC 2021
On Thu, 11 Nov 2021 07:24:24 GMT, David Holmes <dholmes at openjdk.org> wrote:
> How was, and going forward will, this be tested? There are no tests using UseHeavyMonitors. And a real test would be to run a bunch of other tests with the flag applied.
I have run tier1-4 with the flag explicitely enabled. However, I agree, we should include the flag in a run config for some relevant tests. Do you have any suggestions? Maybe we have a stress test for synchronized already, and could add a run config there? jcstress comes to mind, but I am not sure if the included jcstress tests even exercise synchronized (rather than j.u.c. stuff)?
-------------
PR: https://git.openjdk.java.net/jdk/pull/6320
More information about the hotspot-compiler-dev
mailing list