RFR: 8278410: Improve argument processing around UseHeavyMonitors
Robbin Ehn
rehn at openjdk.java.net
Mon Jan 10 08:51:28 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
Thanks
-------------
Marked as reviewed by rehn (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/6765
More information about the hotspot-runtime-dev
mailing list