RFR: 8253270: Limit fastdebug inlining in G1 evacuation

Albert Mingkun Yang ayang at openjdk.java.net
Thu Sep 17 09:01:43 UTC 2020


On Thu, 17 Sep 2020 08:55:08 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

>> 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.
>
> Lgtm.

If this workaround is needed due to a compiler bug, I think it's best to include a reference to the corresponding
compiler ticket(s) so that it's possible to undo this workaround when the bug is fixed. On second thought, I wonder if
it's feasible to just raise the required compiler version, assuming this bug is fixed in later versions of gcc.

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

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



More information about the hotspot-gc-dev mailing list