RFR: 8277055: Assert "missing inlining msg" with -XX:+PrintIntrinsics

Tobias Holenstein duke at openjdk.java.net
Mon Feb 28 10:51:07 UTC 2022


in `CallGenerator::do_late_inline_helper()` we hit an assert `"missing inlining msg"` when calling  `C->print_inlining_update_delayed(this)`. The reason is that not all implementations of do_late_inline_check() print an inline message. The fix is to add an inline message for the two `return false` in `LateInlineVirtualCallGenerator::do_late_inline_check(...)` where we do not print an inline message.

Tier1-3 passed

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

Commit messages:
 - fix whitespace
 - fix whitespace
 - reverse whitespace removal
 - added if statements for printing
 - added jtreg test
 - removed trailing whitespaces
 - added print message if late call devirtualization fails
 - JDK-8277055: Assert missing inlining msg with -XX:+PrintIntrinsics
 - Merge branch 'JDK-8277055' of github.com:tobiasholenstein/jdk into JDK-8277055
 - moved print_inlining_update_delayed into do_late_inline_check
 - ... and 1 more: https://git.openjdk.java.net/jdk/compare/f5d8cebb...162e97aa

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

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


More information about the hotspot-compiler-dev mailing list