Integrated: 8329417: Remove objects with no pointers from relocation bitmap

Matias Saavedra Silva matsaave at openjdk.org
Tue Apr 23 15:10:32 UTC 2024


On Tue, 16 Apr 2024 22:14:08 GMT, Matias Saavedra Silva <matsaave at openjdk.org> wrote:

> Both the read-write and read-only regions of the relocation bitmap contain metaspace objects with no pointers which do not need to be relocated. By sorting the maps, objects with no pointers can bubble to the top and the bitmap can trim the "leading zeros" thus reducing the archive size and reducing the number of pages. Verified with tier 1-5 tests.

This pull request has now been integrated.

Changeset: b6518a5d
Author:    Matias Saavedra Silva <matsaave at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b6518a5db08959a5d1a22ccff9c1795ce7f9bf85
Stats:     55 lines in 5 files changed: 44 ins; 1 del; 10 mod

8329417: Remove objects with no pointers from relocation bitmap

Reviewed-by: ccheung, iklam

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

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


More information about the hotspot-runtime-dev mailing list