Integrated: 8311248: Refactor CodeCache::initialize_heaps to simplify adding new CodeCache segments

Boris Ulasevich bulasevich at openjdk.org
Wed Apr 10 06:32:13 UTC 2024


On Wed, 3 Jan 2024 14:19:10 GMT, Boris Ulasevich <bulasevich at openjdk.org> wrote:

> These changes clean up the logic and the code of allocating codecache segments and add more testing of it, to open a door for further optimization of code cache segmentation.  The goal was to keep the behavior as close to the existing behavior as possible, even if it's not quite logical.
> 
> Also, these changes better account for alignment - PrintFlagsFinal shows the final aligned segment sizes, and the segments fill the ReservedCodeCacheSize without gaps caused by alignment.

This pull request has now been integrated.

Changeset: d037a597
Author:    Boris Ulasevich <bulasevich at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/d037a597a94edf6e716098b88f42f2b15518e2bd
Stats:     325 lines in 5 files changed: 175 ins; 99 del; 51 mod

8311248: Refactor CodeCache::initialize_heaps to simplify adding new CodeCache segments

Reviewed-by: thartmann

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

PR: https://git.openjdk.org/jdk/pull/17244


More information about the hotspot-dev mailing list