equal
deleted
inserted
replaced
306 |
306 |
307 void ObjectSampleCheckpoint::tag(const JfrStackFrame& frame, traceid method_id) { |
307 void ObjectSampleCheckpoint::tag(const JfrStackFrame& frame, traceid method_id) { |
308 if (is_processed(method_id) || is_klass_unloaded(method_id)) { |
308 if (is_processed(method_id) || is_klass_unloaded(method_id)) { |
309 return; |
309 return; |
310 } |
310 } |
311 assert(frame._method != NULL, "invariant"); |
311 JfrTraceId::set_leakp(frame._method); |
312 JfrTraceId::set_leakp(frame._method->method_holder(), frame._method); |
|
313 } |
312 } |
314 |
313 |
315 void ObjectSampleCheckpoint::write_stacktrace(const JfrStackTrace* trace, JfrCheckpointWriter& writer) { |
314 void ObjectSampleCheckpoint::write_stacktrace(const JfrStackTrace* trace, JfrCheckpointWriter& writer) { |
316 assert(trace != NULL, "invariant"); |
315 assert(trace != NULL, "invariant"); |
317 // JfrStackTrace |
316 // JfrStackTrace |