[lworld] Integrated: 8311383: [lworld] Restoring inline class mirrors with CDS.

Jatin Bhateja jbhateja at openjdk.org
Fri Jul 14 05:25:15 UTC 2023


On Mon, 10 Jul 2023 01:32:33 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:

> Inline class encapsulate following two mirror objects
>   - Value mirror : primitive value class instance
>   - Reference mirror  : primitive reference class instance ( .ref)
>  
> Currently, runtime allocates and updates java mirror corresponding to a klass in a scratch memory and dumps [1] these into shared archive.  Skipping over allocating inline mirrors into scratch memory for the time being since they can be re-created while restoring unshared fields of inline class[2] during share archive read. 
> 
> [1] https://github.com/openjdk/valhalla/blob/lworld/src/hotspot/share/cds/heapShared.cpp#L392
> [2] https://github.com/openjdk/valhalla/blob/lworld/src/hotspot/share/oops/klass.cpp#L624

This pull request has now been integrated.

Changeset: 2d65027f
Author:    Jatin Bhateja <jbhateja at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/2d65027f17871acf4f641db74e71bd81fdb7fa5b
Stats:     8 lines in 1 file changed: 5 ins; 0 del; 3 mod

8311383: [lworld] Restoring inline class mirrors with CDS.

Reviewed-by: thartmann

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

PR: https://git.openjdk.org/valhalla/pull/884



More information about the valhalla-dev mailing list