Mercurial > hg > graal-compiler
comparison src/share/vm/graal/graalRuntime.cpp @ 10072:62ea8789b88a
Remove leaf calls for G1 calls
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Mon, 17 Jun 2013 20:39:24 +0200 |
parents | 1b60f639ac4b |
children | 8b22524df53b |
comparison
equal
deleted
inserted
replaced
10071:4071b48fc4ed | 10072:62ea8789b88a |
---|---|
302 if (TraceGraal >= 3) { | 302 if (TraceGraal >= 3) { |
303 tty->print_cr("%s: exiting locking slow with obj=" INTPTR_FORMAT, thread->name(), obj); | 303 tty->print_cr("%s: exiting locking slow with obj=" INTPTR_FORMAT, thread->name(), obj); |
304 } | 304 } |
305 JRT_END | 305 JRT_END |
306 | 306 |
307 JRT_LEAF(void, GraalRuntime::write_barrier_pre(JavaThread* thread, oopDesc* obj)) | |
308 thread->satb_mark_queue().enqueue(obj); | |
309 JRT_END | |
310 | |
311 JRT_LEAF(void, GraalRuntime::write_barrier_post(JavaThread* thread, oopDesc* obj, void* card_addr)) | |
312 thread->dirty_card_queue().enqueue(card_addr); | |
313 JRT_END | |
314 | |
315 JRT_LEAF(void, GraalRuntime::monitorexit(JavaThread* thread, oopDesc* obj, BasicLock* lock)) | 307 JRT_LEAF(void, GraalRuntime::monitorexit(JavaThread* thread, oopDesc* obj, BasicLock* lock)) |
316 assert(thread == JavaThread::current(), "threads must correspond"); | 308 assert(thread == JavaThread::current(), "threads must correspond"); |
317 assert(thread->last_Java_sp(), "last_Java_sp must be set"); | 309 assert(thread->last_Java_sp(), "last_Java_sp must be set"); |
318 // monitorexit is non-blocking (leaf routine) => no exceptions can be thrown | 310 // monitorexit is non-blocking (leaf routine) => no exceptions can be thrown |
319 EXCEPTION_MARK; | 311 EXCEPTION_MARK; |