equal
deleted
inserted
replaced
117 JRT_LEAF(void, SharedRuntime::g1_wb_pre(oopDesc* orig, JavaThread *thread)) |
117 JRT_LEAF(void, SharedRuntime::g1_wb_pre(oopDesc* orig, JavaThread *thread)) |
118 if (orig == NULL) { |
118 if (orig == NULL) { |
119 assert(false, "should be optimized out"); |
119 assert(false, "should be optimized out"); |
120 return; |
120 return; |
121 } |
121 } |
|
122 assert(orig->is_oop(true /* ignore mark word */), "Error"); |
122 // store the original value that was in the field reference |
123 // store the original value that was in the field reference |
123 thread->satb_mark_queue().enqueue(orig); |
124 thread->satb_mark_queue().enqueue(orig); |
124 JRT_END |
125 JRT_END |
125 |
126 |
126 // G1 write-barrier post: executed after a pointer store. |
127 // G1 write-barrier post: executed after a pointer store. |