Integrated: 8266891: Provide a switch to force the class space to a specific location

Thomas Stuefe stuefe at openjdk.java.net
Wed Jun 9 04:09:20 UTC 2021


On Tue, 11 May 2021 08:52:55 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> To test compressed Klass pointer encoding and other metaspace interna, it would be nice to be able to force location of the class space to a specific location. This would help with analysis of problems like JDK-8261552 or JDK-8265705 - errors in Klass* encoding/decoding which managed to stay unnoticed for an astonishingly long time.
> 
> For simplicity, it would be sufficient to only have this ability if CDS is disabled (Xshare=off), since CCS allocation is tied to CDS location otherwise and that would be more diffictult to disentangle.

This pull request has now been integrated.

Changeset: c9dbc4f0
Author:    Thomas Stuefe <stuefe at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/c9dbc4f034c765627a2f2f80bb184746be1f2657
Stats:     58 lines in 2 files changed: 43 ins; 10 del; 5 mod

8266891: Provide a switch to force the class space to a specific location

Reviewed-by: iklam, coleenp

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

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


More information about the hotspot-runtime-dev mailing list