RFR: 8261229: MethodData is not correctly initialized with TieredStopAtLevel=3
Igor Veresov
iveresov at openjdk.java.net
Sat Feb 6 06:21:54 UTC 2021
Mostly a typo in compilation mode ergonomics that selected a quick-only mode essentially when the user specified TieredStopAtLevel={1,2,3}. The quick-only mode has an optimization that eliminates parts of the MDO since they are not needed. Meanwhile, the WB API considered it a fair game to request a level 3 compile, that requires a full MDO.
The fix corrects the original issue and also tries to be extra defensive with WB API (since it's semantics is not clearly specified) by always allocating full MDO if WB API is on.
-------------
Commit messages:
- Be defensive with respect to WB API
- Fix compilation mode ergonomics
Changes: https://git.openjdk.java.net/jdk/pull/2444/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2444&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8261229
Stats: 3 lines in 2 files changed: 0 ins; 0 del; 3 mod
Patch: https://git.openjdk.java.net/jdk/pull/2444.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/2444/head:pull/2444
PR: https://git.openjdk.java.net/jdk/pull/2444
More information about the hotspot-dev
mailing list