comparison src/share/vm/graal/graalRuntime.cpp @ 8489:92d21814cf7b

-Implement WB primitive stub call for G1's slow path later
author Christos Kotselidis <christos.kotselidis@oracle.com>
date Tue, 19 Feb 2013 17:57:14 +0100
parents a7a93887b4c4
children 1567c6cc6561
comparison
equal deleted inserted replaced
8488:225c984588ee 8489:92d21814cf7b
481 if (TraceGraal >= 3) { 481 if (TraceGraal >= 3) {
482 tty->print_cr("%s: exiting locking slow with obj=" INTPTR_FORMAT, thread->name(), obj); 482 tty->print_cr("%s: exiting locking slow with obj=" INTPTR_FORMAT, thread->name(), obj);
483 } 483 }
484 JRT_END 484 JRT_END
485 485
486 JRT_LEAF(void, GraalRuntime::graal_g1_wb_slow(JavaThread* thread, oopDesc* obj))
487 tty->print_cr("HELLO WRITE BARRIER");
488 JRT_END
486 489
487 JRT_LEAF(void, GraalRuntime::graal_monitorexit(JavaThread* thread, oopDesc* obj, BasicLock* lock)) 490 JRT_LEAF(void, GraalRuntime::graal_monitorexit(JavaThread* thread, oopDesc* obj, BasicLock* lock))
488 assert(thread == JavaThread::current(), "threads must correspond"); 491 assert(thread == JavaThread::current(), "threads must correspond");
489 assert(thread->last_Java_sp(), "last_Java_sp must be set"); 492 assert(thread->last_Java_sp(), "last_Java_sp must be set");
490 // monitorexit is non-blocking (leaf routine) => no exceptions can be thrown 493 // monitorexit is non-blocking (leaf routine) => no exceptions can be thrown