mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8086068: VM crashes with "-Xint -XX:+UseCompiler" options
Prevent incompatible compiler flag combination. Reviewed-by: zmajo, kvn, ddmitriev
This commit is contained in:
parent
04dd07454a
commit
257c8ccafc
3 changed files with 45 additions and 1 deletions
|
@ -336,7 +336,7 @@ bool CodeCache::heap_available(int code_blob_type) {
|
|||
if (!SegmentedCodeCache) {
|
||||
// No segmentation: use a single code heap
|
||||
return (code_blob_type == CodeBlobType::All);
|
||||
} else if (Arguments::mode() == Arguments::_int) {
|
||||
} else if (Arguments::is_interpreter_only()) {
|
||||
// Interpreter only: we don't need any method code heaps
|
||||
return (code_blob_type == CodeBlobType::NonNMethod);
|
||||
} else if (TieredCompilation && (TieredStopAtLevel > CompLevel_simple)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue