equal
deleted
inserted
replaced
77 assert(h._thread == Thread::current(), "thread must be current");\ |
77 assert(h._thread == Thread::current(), "thread must be current");\ |
78 _thread = h._thread; \ |
78 _thread = h._thread; \ |
79 } else { \ |
79 } else { \ |
80 _thread = Thread::current(); \ |
80 _thread = Thread::current(); \ |
81 } \ |
81 } \ |
|
82 assert (_thread->is_in_stack((address)this), "not on stack?"); \ |
82 _thread->metadata_handles()->push((Metadata*)_value); \ |
83 _thread->metadata_handles()->push((Metadata*)_value); \ |
83 } else { \ |
84 } else { \ |
84 _thread = NULL; \ |
85 _thread = NULL; \ |
85 } \ |
86 } \ |
86 } \ |
87 } \ |
93 assert(s._thread == Thread::current(), "thread must be current");\ |
94 assert(s._thread == Thread::current(), "thread must be current");\ |
94 _thread = s._thread; \ |
95 _thread = s._thread; \ |
95 } else { \ |
96 } else { \ |
96 _thread = Thread::current(); \ |
97 _thread = Thread::current(); \ |
97 } \ |
98 } \ |
|
99 assert (_thread->is_in_stack((address)this), "not on stack?"); \ |
98 _thread->metadata_handles()->push((Metadata*)_value); \ |
100 _thread->metadata_handles()->push((Metadata*)_value); \ |
99 } else { \ |
101 } else { \ |
100 _thread = NULL; \ |
102 _thread = NULL; \ |
101 } \ |
103 } \ |
102 return *this; \ |
104 return *this; \ |