Integrated: 8278410: Improve argument processing around UseHeavyMonitors
Roman Kennke
rkennke at openjdk.java.net
Wed Jan 26 11:11:37 UTC 2022
On Wed, 8 Dec 2021 13:54:33 GMT, Roman Kennke <rkennke at openjdk.org> wrote:
> JDK-8276901 improved the implementation of the UseHeavyMonitors flag, however, the argument checking for it should not use fatal() but instead report a warning or error message, and return false accordingly.
> Also for platforms where UseHeavyMonitors is not fully implemented it should not just be a warning but also cause initialization to not continue. If we are going to return false then the error message should go to the error stream not be issued as a warning().
>
> Testing:
> - [x] java/util/concurrent/ConcurrentHashMap/MapLoops.java
> - [x] tier1
> - [ ] tier2
This pull request has now been integrated.
Changeset: a07e19d8
Author: Roman Kennke <rkennke at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/a07e19d8336f8fbea8736ba169787aec6d812817
Stats: 10 lines in 1 file changed: 7 ins; 0 del; 3 mod
8278410: Improve argument processing around UseHeavyMonitors
Reviewed-by: rehn, dholmes
-------------
PR: https://git.openjdk.java.net/jdk/pull/6765
More information about the hotspot-runtime-dev
mailing list