RFR: 8261229: MethodData is not correctly initialized with TieredStopAtLevel=3 [v2]

Igor Veresov iveresov at openjdk.java.net
Sat Feb 6 20:47:00 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.

Igor Veresov has updated the pull request incrementally with one additional commit since the last revision:

  Remove WB defence

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/2444/files
  - new: https://git.openjdk.java.net/jdk/pull/2444/files/4086df33..c57457b2

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2444&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2444&range=00-01

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 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-compiler-dev mailing list