equal
deleted
inserted
replaced
113 } else { |
113 } else { |
114 CodeCache::clear_inline_caches(); |
114 CodeCache::clear_inline_caches(); |
115 } |
115 } |
116 } |
116 } |
117 |
117 |
118 void VM_Deoptimize::doit() { |
|
119 // We do not want any GCs to happen while we are in the middle of this VM operation |
|
120 ResourceMark rm; |
|
121 DeoptimizationMarker dm; |
|
122 |
|
123 // Deoptimize all activations depending on marked nmethods |
|
124 Deoptimization::deoptimize_dependents(); |
|
125 |
|
126 // Make the dependent methods not entrant |
|
127 CodeCache::make_marked_nmethods_not_entrant(); |
|
128 } |
|
129 |
|
130 void VM_MarkActiveNMethods::doit() { |
118 void VM_MarkActiveNMethods::doit() { |
131 NMethodSweeper::mark_active_nmethods(); |
119 NMethodSweeper::mark_active_nmethods(); |
132 } |
120 } |
133 |
121 |
134 VM_DeoptimizeFrame::VM_DeoptimizeFrame(JavaThread* thread, intptr_t* id, int reason) { |
122 VM_DeoptimizeFrame::VM_DeoptimizeFrame(JavaThread* thread, intptr_t* id, int reason) { |