mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8373262: Parallel: gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java fails
Reviewed-by: cjplummer
This commit is contained in:
parent
355755d35d
commit
811591c5c3
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -60,11 +60,11 @@ public class ParallelScavengeHeap extends CollectedHeap {
|
||||
|
||||
// Accessors
|
||||
public PSYoungGen youngGen() {
|
||||
return VMObjectFactory.newObject(PSYoungGen.class, youngGenField.getValue());
|
||||
return VMObjectFactory.newObject(PSYoungGen.class, youngGenField.getValue(addr));
|
||||
}
|
||||
|
||||
public PSOldGen oldGen() {
|
||||
return VMObjectFactory.newObject(PSOldGen.class, oldGenField.getValue());
|
||||
return VMObjectFactory.newObject(PSOldGen.class, oldGenField.getValue(addr));
|
||||
}
|
||||
|
||||
public long capacity() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user