[jdk18] RFR: 8278966: two microbenchmarks tests fail "assert(!jvms->method()->has_exception_handlers()) failed: no exception handler expected" after JDK-8275638

Roland Westrelin roland at openjdk.java.net
Tue Jan 4 08:23:43 UTC 2022


The assert from 8275638 is too strong. For the change in 8275638 to
work as expected, we need to not have a virtual call and exception
handlers in the same method. This patch tweaks the assert.

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

Commit messages:
 - fix & test

Changes: https://git.openjdk.java.net/jdk18/pull/78/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk18&pr=78&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8278966
  Stats: 31 lines in 2 files changed: 29 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk18/pull/78.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk18 pull/78/head:pull/78

PR: https://git.openjdk.java.net/jdk18/pull/78


More information about the hotspot-compiler-dev mailing list