RFR: 8253270: Limit fastdebug inlining in G1 evacuation

Kim Barrett kbarrett at openjdk.java.net
Thu Sep 17 08:42:29 UTC 2020


Please review this change to G1 evacuation to prevent inlining of some functions in debug (particularly, fastdebug)
builds. This reduces the size of the generated code to stay away from limits encountered with gcc when compiling for
aarch64.  As a side benefit, this adds more call frames that might be helpful with debugging.

Testing: tier1
Verified expected inlining on linux-x64 and linux-aarch64 in both release and fastdebug builds.

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

Commit messages:
 - noinline some functions in debug builds

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

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



More information about the hotspot-gc-dev mailing list