RFR: 8254744: Clean-up CodeBlob::align_code_offset
Martin Doerr
mdoerr at openjdk.java.net
Wed Oct 14 10:48:12 UTC 2020
On Wed, 14 Oct 2020 10:34:32 GMT, Claes Redestad <redestad at openjdk.org> wrote:
> - Modernize by using align_up
> - Move definition of the trivial CodeHeap::header_size() to header to help inlining, which optimizes align_code_offset
> and others. No big gain, but we're calling CodeHeap::header_size() 1300+ times on Hello World, and when inlined it's
> just a constant fold.
Marked as reviewed by mdoerr (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/651
More information about the hotspot-dev
mailing list