Mercurial > hg > graal-compiler
comparison src/share/vm/graal/graalRuntime.cpp @ 9595:db2125285960
replaced wb_pre_call and wb_post_call assembler stubs with compiled stubs (GRAAL-81)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 07 May 2013 01:53:01 +0200 |
parents | d84ea522800e |
children | aa8f3fc0a9a9 |
comparison
equal
deleted
inserted
replaced
9594:743326387173 | 9595:db2125285960 |
---|---|
469 if (TraceGraal >= 3) { | 469 if (TraceGraal >= 3) { |
470 tty->print_cr("%s: exiting locking slow with obj=" INTPTR_FORMAT, thread->name(), obj); | 470 tty->print_cr("%s: exiting locking slow with obj=" INTPTR_FORMAT, thread->name(), obj); |
471 } | 471 } |
472 JRT_END | 472 JRT_END |
473 | 473 |
474 JRT_LEAF(void, GraalRuntime::wb_pre_call(JavaThread* thread, oopDesc* obj)) | 474 JRT_LEAF(void, GraalRuntime::write_barrier_pre(JavaThread* thread, oopDesc* obj)) |
475 thread->satb_mark_queue().enqueue(obj); | 475 thread->satb_mark_queue().enqueue(obj); |
476 JRT_END | 476 JRT_END |
477 | 477 |
478 JRT_LEAF(void, GraalRuntime::wb_post_call(JavaThread* thread, oopDesc* obj, void* card_addr)) | 478 JRT_LEAF(void, GraalRuntime::write_barrier_post(JavaThread* thread, oopDesc* obj, void* card_addr)) |
479 thread->dirty_card_queue().enqueue(card_addr); | 479 thread->dirty_card_queue().enqueue(card_addr); |
480 JRT_END | 480 JRT_END |
481 | 481 |
482 JRT_LEAF(void, GraalRuntime::monitorexit(JavaThread* thread, oopDesc* obj, BasicLock* lock)) | 482 JRT_LEAF(void, GraalRuntime::monitorexit(JavaThread* thread, oopDesc* obj, BasicLock* lock)) |
483 assert(thread == JavaThread::current(), "threads must correspond"); | 483 assert(thread == JavaThread::current(), "threads must correspond"); |