comparison src/share/vm/memory/universe.inline.hpp @ 20450:fa6c442c59ee

8057827: notify an obj when allocation context stats are available Reviewed-by: mikael, jmasa, tschatzl
author jcoomes
date Wed, 10 Sep 2014 16:06:53 -0700
parents f95d63e2154a
children
comparison
equal deleted inserted replaced
20449:2402de236865 20450:fa6c442c59ee
39 39
40 inline bool Universe::field_type_should_be_aligned(BasicType type) { 40 inline bool Universe::field_type_should_be_aligned(BasicType type) {
41 return type == T_DOUBLE || type == T_LONG; 41 return type == T_DOUBLE || type == T_LONG;
42 } 42 }
43 43
44 inline oop Universe::allocation_context_notification_obj() {
45 return _allocation_context_notification_obj;
46 }
47
48 inline void Universe::set_allocation_context_notification_obj(oop obj) {
49 _allocation_context_notification_obj = obj;
50 }
51
44 #endif // SHARE_VM_MEMORY_UNIVERSE_INLINE_HPP 52 #endif // SHARE_VM_MEMORY_UNIVERSE_INLINE_HPP