Mercurial > hg > truffle
comparison src/share/vm/runtime/biasedLocking.cpp @ 17847:a57ba009d4dc
8032011: nsk/stress/jck60/jck60022 crashes in src\share\vm\runtime\synchronizer.cpp:239
Summary: biased locking's revoke_bias locks monitor in compiled frame with eliminated lock
Reviewed-by: kvn, iveresov
author | roland |
---|---|
date | Thu, 27 Feb 2014 09:37:16 +0100 |
parents | 3205e78d8193 |
children | 4ca6dc0799b6 78bbf4d43a14 |
comparison
equal
deleted
inserted
replaced
17846:58fab66a8297 | 17847:a57ba009d4dc |
---|---|
126 if (monitors != NULL) { | 126 if (monitors != NULL) { |
127 int len = monitors->length(); | 127 int len = monitors->length(); |
128 // Walk monitors youngest to oldest | 128 // Walk monitors youngest to oldest |
129 for (int i = len - 1; i >= 0; i--) { | 129 for (int i = len - 1; i >= 0; i--) { |
130 MonitorInfo* mon_info = monitors->at(i); | 130 MonitorInfo* mon_info = monitors->at(i); |
131 if (mon_info->owner_is_scalar_replaced()) continue; | 131 if (mon_info->eliminated()) continue; |
132 oop owner = mon_info->owner(); | 132 oop owner = mon_info->owner(); |
133 if (owner != NULL) { | 133 if (owner != NULL) { |
134 info->append(mon_info); | 134 info->append(mon_info); |
135 } | 135 } |
136 } | 136 } |