Mercurial > hg > truffle
comparison src/share/vm/graal/graalRuntime.cpp @ 8501:41fc46da946a
-More fixes and passrate(fop)
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Wed, 06 Mar 2013 19:35:04 +0100 |
parents | 992f62c457b0 |
children | ff4fa8b0516e |
comparison
equal
deleted
inserted
replaced
8500:992f62c457b0 | 8501:41fc46da946a |
---|---|
484 JRT_END | 484 JRT_END |
485 | 485 |
486 static const bool TRACE_WB=true; | 486 static const bool TRACE_WB=true; |
487 | 487 |
488 JRT_LEAF(void, GraalRuntime::graal_wb_pre_call(JavaThread* thread, oopDesc* obj)) | 488 JRT_LEAF(void, GraalRuntime::graal_wb_pre_call(JavaThread* thread, oopDesc* obj)) |
489 if(TRACE_WB) tty->print_cr("HELLO PRE WRITE BARRIER"); | 489 if(TRACE_WB) tty->print_cr("HELLO1 PRE WRITE BARRIER"); |
490 SharedRuntime::g1_wb_pre(obj, thread); | 490 SharedRuntime::g1_wb_pre(obj, thread); |
491 if(TRACE_WB) tty->print_cr("HELLO2 PRE WRITE BARRIER"); | |
491 JRT_END | 492 JRT_END |
492 | 493 |
493 JRT_LEAF(void, GraalRuntime::graal_wb_post_call(JavaThread* thread, oopDesc* obj, void* card_addr)) | 494 JRT_LEAF(void, GraalRuntime::graal_wb_post_call(JavaThread* thread, oopDesc* obj, void* card_addr)) |
494 if(TRACE_WB) tty->print_cr("HELLO POST WRITE BARRIER Card address 0x%016lx", card_addr); | 495 if(TRACE_WB) tty->print_cr("HELLO1 POST WRITE BARRIER Card address 0x%016lx", card_addr); |
495 thread->dirty_card_queue().enqueue(card_addr); | 496 thread->dirty_card_queue().enqueue(card_addr); |
497 if(TRACE_WB) tty->print_cr("HELLO2 POST WRITE BARRIER Card address 0x%016lx", card_addr); | |
496 JRT_END | 498 JRT_END |
497 | 499 |
498 JRT_LEAF(void, GraalRuntime::graal_ver_oop(JavaThread* thread, oopDesc* obj)) | 500 JRT_LEAF(void, GraalRuntime::graal_ver_oop(JavaThread* thread, oopDesc* obj)) |
499 if(!TRACE_WB) return; | 501 if(!TRACE_WB) return; |
500 if(obj==NULL) tty->print_cr("ERROR NULL in verifyoop G1 in method obj " INTPTR_FORMAT, obj); | 502 if(obj==NULL) tty->print_cr("ERROR NULL in verifyoop G1 in method obj " INTPTR_FORMAT, obj); |