openjdk-1.8.0/fix-TestUseCompressedOopsErgo-run-failed.patch
2022-02-16 15:18:47 +08:00

17 lines
727 B
Diff
Executable File

diff --git a/hotspot/test/testlibrary/whitebox/sun/hotspot/WhiteBox.java b/hotspot/test/testlibrary/whitebox/sun/hotspot/WhiteBox.java
index 65231abe7..9e1f0cb70 100644
--- a/hotspot/test/testlibrary/whitebox/sun/hotspot/WhiteBox.java
+++ b/hotspot/test/testlibrary/whitebox/sun/hotspot/WhiteBox.java
@@ -109,6 +109,8 @@ public class WhiteBox {
public native long g1NumMaxRegions();
public native long g1NumFreeRegions();
public native int g1RegionSize();
+ public native int g1ActiveMemoryNodeCount();
+ public native int[] g1MemoryNodeIds();
public native MemoryUsage g1AuxiliaryMemoryUsage();
public native Object[] parseCommandLine(String commandline, DiagnosticCommand[] args);
--
2.22.0