-
Enhancement
-
Resolution: Fixed
-
P4
-
8, 11, 12
-
b21
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8226485 | 11.0.5-oracle | Aleksey Shipilev | P4 | Resolved | Fixed | b02 |
JDK-8214861 | 11.0.3 | Aleksey Shipilev | P4 | Resolved | Fixed | master |
JDK-8255328 | openjdk8u282 | Aleksey Shipilev | P4 | Resolved | Fixed | b01 |
http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2018-October/030915.html
Aleksey:
I want to run our performance tests with usual compiler configuration, and make VM fail if/when we fail to compile the method for some reason -- probably due to VM bugs -- instead of silently regressing performance, and leaving me scratching my head what had happened. This might be of interest for high-performance users too, if they want to treat current graceful degradation as error condition instead.
This is similar to CompileTheWorld, except it does normal compilation with usual profiling and optimization, basically running in the mode we would expect production to run.
Vladimir:
Okay, in such case I would suggest to make general (not Shenandoah specific) diagnostic flag similar to AbortVMOnException flag. Something like AbortVMOnCompileFailure. And code should by in CompileBroker::post_compile().
EDIT: The final option name is -XX:+AbortVMOnCompilationFailure.
Aleksey:
I want to run our performance tests with usual compiler configuration, and make VM fail if/when we fail to compile the method for some reason -- probably due to VM bugs -- instead of silently regressing performance, and leaving me scratching my head what had happened. This might be of interest for high-performance users too, if they want to treat current graceful degradation as error condition instead.
This is similar to CompileTheWorld, except it does normal compilation with usual profiling and optimization, basically running in the mode we would expect production to run.
Vladimir:
Okay, in such case I would suggest to make general (not Shenandoah specific) diagnostic flag similar to AbortVMOnException flag. Something like AbortVMOnCompileFailure. And code should by in CompileBroker::post_compile().
EDIT: The final option name is -XX:+AbortVMOnCompilationFailure.
- backported by
-
JDK-8214861 Introduce diagnostic flag to abort VM on failed JIT compilation
- Resolved
-
JDK-8226485 Introduce diagnostic flag to abort VM on failed JIT compilation
- Resolved
-
JDK-8255328 Introduce diagnostic flag to abort VM on failed JIT compilation
- Resolved
- relates to
-
JDK-8213992 Rename and make DieOnSafepointTimeout the diagnostic option
- Resolved