src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/CompilerToVM.java
Index
Unified diffs
Context diffs
Sdiffs
Frames
Patch
New
Old
Previous File
Next File
open Cdiff src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/CompilerToVM.java
src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/CompilerToVM.java
Print this page
*** 558,567 ****
--- 558,579 ----
* Collects the current values of all JVMCI benchmark counters, summed up over all threads.
*/
native long[] collectCounters();
/**
+ * Get the current number of counters allocated for use by JVMCI. Should be the same value as
+ * the flag {@code JVMCICounterSize}.
+ */
+ native int getCountersSize();
+
+ /**
+ * Attempt to change the size of the counters allocated for JVMCI. This requires a safepoint to
+ * safely reallocate the storage but it's advisable to increase the size in reasonable chunks.
+ */
+ native boolean setCountersSize(int newSize);
+
+ /**
* Determines if {@code metaspaceMethodData} is mature.
*/
native boolean isMature(long metaspaceMethodData);
/**
src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/CompilerToVM.java
Index
Unified diffs
Context diffs
Sdiffs
Frames
Patch
New
Old
Previous File
Next File