RFR: 8287169: compiler/arguments/TestCompileThresholdScaling.java fails on x86_32 after JDK-8287052

Aleksey Shipilev shade at openjdk.java.net
Mon May 23 17:10:13 UTC 2022


See the bug report, recent regression. I believe the code makes the unwarranted assumption that we run on 64-bit platform, and thus caps at > 2^63 only. It should also cap at > 2^31 for 32-bit platforms.

Attn @dean-long.

Testing:
 - [x] Affected test on Linux x86_64 fastdebug (still passes)
 - [x] Affected test on Linux x86_32 fastdebug (now passes)

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

Commit messages:
 - Fix

Changes: https://git.openjdk.java.net/jdk/pull/8851/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8851&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8287169
  Stats: 4 lines in 1 file changed: 2 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8851.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8851/head:pull/8851

PR: https://git.openjdk.java.net/jdk/pull/8851


More information about the hotspot-compiler-dev mailing list