RFR: 8261247: some compiler/whitebox/ tests fail w/ DeoptimizeALot

Igor Ignatyev iignatyev at openjdk.java.net
Sat Mar 6 08:57:18 UTC 2021


Hi all,

could you please review this small test-only patch that adds `@requries vm.opt.DeoptimizeALot != true` to `compiler/whitebox/` tests that check if a method gets compiled? such checks can fail intermittently when are `DeoptimizeALot` is used (as the method can get deoptimized before we checked if it was compiled).

testing: 
* [x] `compiler/whitebox/` on `macosx-x64-fastdebug` w/o any flags (17 tests)
* [x] `compiler/whitebox/` on `macosx-x64-fastdebug` w/ -XX:+DeoptimizeALot (6 tests)

Thanks,
-- Igor

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

Commit messages:
 - updated copyright years
 - added 'requries vm.opt.DeoptimizeALot != true' to compiler/whitebox/ tests that check if a method gets compiled

Changes: https://git.openjdk.java.net/jdk/pull/2849/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2849&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8261247
  Stats: 45 lines in 11 files changed: 33 ins; 3 del; 9 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2849.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2849/head:pull/2849

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


More information about the hotspot-compiler-dev mailing list