Mercurial > hg > truffle
comparison src/share/vm/runtime/handles.inline.hpp @ 12281:4f9a42c33738
8022887: Assertion hit while using class and redefining it with RedefineClasses simultaneously
Summary: Need to refetch each method from InstanceKlass after all safepoints. Removed leaky PreviousVersionInfo code.
Reviewed-by: dcubed, sspitsyn
author | coleenp |
---|---|
date | Fri, 20 Sep 2013 09:30:02 -0400 |
parents | cc6a617fffd2 |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
12279:6eb908998b32 | 12281:4f9a42c33738 |
---|---|
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; \ |