Mercurial > hg > truffle
comparison src/share/vm/runtime/synchronizer.cpp @ 10405:f2110083203d
8005849: JEP 167: Event-Based JVM Tracing
Reviewed-by: acorn, coleenp, sla
Contributed-by: Karen Kinnear <karen.kinnear@oracle.com>, Bengt Rutisson <bengt.rutisson@oracle.com>, Calvin Cheung <calvin.cheung@oracle.com>, Erik Gahlin <erik.gahlin@oracle.com>, Erik Helin <erik.helin@oracle.com>, Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>, Keith McGuigan <keith.mcguigan@oracle.com>, Mattias Tobiasson <mattias.tobiasson@oracle.com>, Markus Gronlund <markus.gronlund@oracle.com>, Mikael Auno <mikael.auno@oracle.com>, Nils Eliasson <nils.eliasson@oracle.com>, Nils Loodin <nils.loodin@oracle.com>, Rickard Backman <rickard.backman@oracle.com>, Staffan Larsen <staffan.larsen@oracle.com>, Stefan Karlsson <stefan.karlsson@oracle.com>, Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
author | sla |
---|---|
date | Mon, 10 Jun 2013 11:30:51 +0200 |
parents | 746b070f5022 |
children | 836a62f43af9 190899198332 75ef1a499665 |
comparison
equal
deleted
inserted
replaced
10404:d0add7016434 | 10405:f2110083203d |
---|---|
211 TEVENT (fast_exit: release stacklock) ; | 211 TEVENT (fast_exit: release stacklock) ; |
212 return; | 212 return; |
213 } | 213 } |
214 } | 214 } |
215 | 215 |
216 ObjectSynchronizer::inflate(THREAD, object)->exit (THREAD) ; | 216 ObjectSynchronizer::inflate(THREAD, object)->exit (true, THREAD) ; |
217 } | 217 } |
218 | 218 |
219 // ----------------------------------------------------------------------------- | 219 // ----------------------------------------------------------------------------- |
220 // Interpreter/Compiler Slow Case | 220 // Interpreter/Compiler Slow Case |
221 // This routine is used to handle interpreter/compiler slow case | 221 // This routine is used to handle interpreter/compiler slow case |
341 | 341 |
342 ObjectMonitor* monitor = ObjectSynchronizer::inflate(THREAD, obj); | 342 ObjectMonitor* monitor = ObjectSynchronizer::inflate(THREAD, obj); |
343 // If this thread has locked the object, exit the monitor. Note: can't use | 343 // If this thread has locked the object, exit the monitor. Note: can't use |
344 // monitor->check(CHECK); must exit even if an exception is pending. | 344 // monitor->check(CHECK); must exit even if an exception is pending. |
345 if (monitor->check(THREAD)) { | 345 if (monitor->check(THREAD)) { |
346 monitor->exit(THREAD); | 346 monitor->exit(true, THREAD); |
347 } | 347 } |
348 } | 348 } |
349 | 349 |
350 // ----------------------------------------------------------------------------- | 350 // ----------------------------------------------------------------------------- |
351 // Internal VM locks on java objects | 351 // Internal VM locks on java objects |