< prev index next > src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/CompilerToVM.java
Print this page
Object[] objectPool,
InstalledCode code,
long failedSpeculationsAddress,
byte[] speculations);
+ native String getInvalidationReasonDescription(int invalidationReason);
+
/**
* Gets flags specifying optional parts of code info. Only if a flag is set, will the
* corresponding code info being included in the {@linkplain HotSpotCompiledCodeStream
* serialized code stream}.
*
* Updates {@code nmethodMirror} such that {@link InvalidInstalledCodeException} will be raised
* the next time {@code nmethodMirror} is {@linkplain #executeHotSpotNmethod executed}. The
* {@code nmethod} associated with {@code nmethodMirror} is also made non-entrant and if
* {@code deoptimize == true} any current activations of the {@code nmethod} are deoptimized.
*/
- native void invalidateHotSpotNmethod(HotSpotNmethod nmethodMirror, boolean deoptimize);
+ native void invalidateHotSpotNmethod(HotSpotNmethod nmethodMirror, boolean deoptimize, int invalidationReason);
/**
* Collects the current values of all JVMCI benchmark counters, summed up over all threads.
*/
native long[] collectCounters();
< prev index next >