Integrated: JDK-8265259: G1: Fix HeapRegion::block_is_obj for unloading class in full gc

Hamlin Li mli at openjdk.java.net
Fri Apr 16 12:44:36 UTC 2021


On Thu, 15 Apr 2021 12:07:47 GMT, Hamlin Li <mli at openjdk.org> wrote:

> In JDK-8262068, we have introduced an enhancement to skip compacting some heap regions.
> But the objs in these regions might have been dead, and their classes might have been unloaded, at this situation, we need following change to make sure we don't get into trouble when calls HeapRegion::block_is_obj(const HeapWord* p) and subsequent calls e.g. to get obj size.

This pull request has now been integrated.

Changeset: 714298a5
Author:    Hamlin Li <mli at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/714298a5
Stats:     10 lines in 1 file changed: 7 ins; 0 del; 3 mod

8265259: G1: Fix HeapRegion::block_is_obj for unloading class in full gc

Reviewed-by: sjohanss, tschatzl

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

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



More information about the hotspot-gc-dev mailing list