comparison src/share/vm/graal/graalRuntime.hpp @ 10953:97e282186b5b

Add heap sanity checker with premature hard crash for debugging write barriers
author Christos Kotselidis <christos.kotselidis@oracle.com>
date Fri, 02 Aug 2013 19:03:05 +0200
parents 4e6d6122c558
children 370b5f07f9e2 808348377021
comparison
equal deleted inserted replaced
10952:b43bc053ce8f 10953:97e282186b5b
53 LOG_OBJECT_ADDRESS = 0x04 53 LOG_OBJECT_ADDRESS = 0x04
54 }; 54 };
55 static void log_object(JavaThread* thread, oop msg, jint flags); 55 static void log_object(JavaThread* thread, oop msg, jint flags);
56 static void write_barrier_pre(JavaThread* thread, oopDesc* obj); 56 static void write_barrier_pre(JavaThread* thread, oopDesc* obj);
57 static void write_barrier_post(JavaThread* thread, void* card); 57 static void write_barrier_post(JavaThread* thread, void* card);
58 static jboolean validate_object(JavaThread* thread, oopDesc* parent, oopDesc* child);
58 }; 59 };
59 60
60 #endif // SHARE_VM_GRAAL_GRAAL_RUNTIME_HPP 61 #endif // SHARE_VM_GRAAL_GRAAL_RUNTIME_HPP