Mercurial > hg > graal-compiler
comparison src/share/vm/graal/graalRuntime.cpp @ 16887:aa412e64808e
logObject and logPrimitive should be leaf
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Thu, 21 Aug 2014 17:40:00 -0700 |
parents | 9d4c73b0646e |
children | 2d6dd2eebd51 |
comparison
equal
deleted
inserted
replaced
16886:b61b88c9c103 | 16887:aa412e64808e |
---|---|
485 tty->print_cr("%s: exited locking slow case with obj=" INTPTR_FORMAT ", type=%s, mark=" INTPTR_FORMAT ", lock=" INTPTR_FORMAT, thread->name(), obj, type, obj->mark(), lock); | 485 tty->print_cr("%s: exited locking slow case with obj=" INTPTR_FORMAT ", type=%s, mark=" INTPTR_FORMAT ", lock=" INTPTR_FORMAT, thread->name(), obj, type, obj->mark(), lock); |
486 tty->flush(); | 486 tty->flush(); |
487 } | 487 } |
488 JRT_END | 488 JRT_END |
489 | 489 |
490 JRT_ENTRY(void, GraalRuntime::log_object(JavaThread* thread, oopDesc* obj, jint flags)) | 490 JRT_LEAF(void, GraalRuntime::log_object(JavaThread* thread, oopDesc* obj, jint flags)) |
491 bool string = mask_bits_are_true(flags, LOG_OBJECT_STRING); | 491 bool string = mask_bits_are_true(flags, LOG_OBJECT_STRING); |
492 bool addr = mask_bits_are_true(flags, LOG_OBJECT_ADDRESS); | 492 bool addr = mask_bits_are_true(flags, LOG_OBJECT_ADDRESS); |
493 bool newline = mask_bits_are_true(flags, LOG_OBJECT_NEWLINE); | 493 bool newline = mask_bits_are_true(flags, LOG_OBJECT_NEWLINE); |
494 if (!string) { | 494 if (!string) { |
495 if (!addr && obj->is_oop_or_null(true)) { | 495 if (!addr && obj->is_oop_or_null(true)) { |
598 assert(v3 == 0, "v3 != 0"); | 598 assert(v3 == 0, "v3 != 0"); |
599 decipher(v1, false); | 599 decipher(v1, false); |
600 } | 600 } |
601 JRT_END | 601 JRT_END |
602 | 602 |
603 JRT_ENTRY(void, GraalRuntime::log_primitive(JavaThread* thread, jchar typeChar, jlong value, jboolean newline)) | 603 JRT_LEAF(void, GraalRuntime::log_primitive(JavaThread* thread, jchar typeChar, jlong value, jboolean newline)) |
604 union { | 604 union { |
605 jlong l; | 605 jlong l; |
606 jdouble d; | 606 jdouble d; |
607 jfloat f; | 607 jfloat f; |
608 } uu; | 608 } uu; |