mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
6837472: com/sun/jdi/MonitorFrameInfo.java fails with AggressiveOpts in 6u14
Disable escape analysis when jvmti/debugger is used. Add support for EA ibto SA. Reviewed-by: never
This commit is contained in:
parent
0429abd38a
commit
7b9d6a79ac
22 changed files with 350 additions and 33 deletions
|
@ -121,6 +121,7 @@ static GrowableArray<MonitorInfo*>* get_or_compute_monitor_info(JavaThread* thre
|
|||
// Walk monitors youngest to oldest
|
||||
for (int i = len - 1; i >= 0; i--) {
|
||||
MonitorInfo* mon_info = monitors->at(i);
|
||||
if (mon_info->owner_is_scalar_replaced()) continue;
|
||||
oop owner = mon_info->owner();
|
||||
if (owner != NULL) {
|
||||
info->append(mon_info);
|
||||
|
@ -694,6 +695,7 @@ void BiasedLocking::preserve_marks() {
|
|||
// Walk monitors youngest to oldest
|
||||
for (int i = len - 1; i >= 0; i--) {
|
||||
MonitorInfo* mon_info = monitors->at(i);
|
||||
if (mon_info->owner_is_scalar_replaced()) continue;
|
||||
oop owner = mon_info->owner();
|
||||
if (owner != NULL) {
|
||||
markOop mark = owner->mark();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue