mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8246027: Minimal fastdebug build broken after JDK-8245801
Added COMPILER2_PRESENT macro Reviewed-by: shade, thartmann
This commit is contained in:
parent
8ea971e373
commit
dfc7905a10
1 changed files with 1 additions and 1 deletions
|
@ -3088,7 +3088,7 @@ void InstanceKlass::add_osr_nmethod(nmethod* n) {
|
||||||
#ifndef PRODUCT
|
#ifndef PRODUCT
|
||||||
if (TieredCompilation) {
|
if (TieredCompilation) {
|
||||||
nmethod* prev = lookup_osr_nmethod(n->method(), n->osr_entry_bci(), n->comp_level(), true);
|
nmethod* prev = lookup_osr_nmethod(n->method(), n->osr_entry_bci(), n->comp_level(), true);
|
||||||
assert(prev == NULL || !prev->is_in_use() || StressRecompilation,
|
assert(prev == NULL || !prev->is_in_use() COMPILER2_PRESENT(|| StressRecompilation),
|
||||||
"redundant OSR recompilation detected. memory leak in CodeCache!");
|
"redundant OSR recompilation detected. memory leak in CodeCache!");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue