equal
deleted
inserted
replaced
386 event->set_blocking(!is_concurrent); |
386 event->set_blocking(!is_concurrent); |
387 // Only write caller thread information for non-concurrent vm operations. |
387 // Only write caller thread information for non-concurrent vm operations. |
388 // For concurrent vm operations, the thread id is set to 0 indicating thread is unknown. |
388 // For concurrent vm operations, the thread id is set to 0 indicating thread is unknown. |
389 // This is because the caller thread could have exited already. |
389 // This is because the caller thread could have exited already. |
390 event->set_caller(is_concurrent ? 0 : JFR_THREAD_ID(op->calling_thread())); |
390 event->set_caller(is_concurrent ? 0 : JFR_THREAD_ID(op->calling_thread())); |
391 event->set_safepointId(evaluate_at_safepoint ? SafepointSynchronize::safepoint_counter() : 0); |
391 event->set_safepointId(evaluate_at_safepoint ? SafepointSynchronize::safepoint_id() : 0); |
392 event->commit(); |
392 event->commit(); |
393 } |
393 } |
394 |
394 |
395 void VMThread::evaluate_operation(VM_Operation* op) { |
395 void VMThread::evaluate_operation(VM_Operation* op) { |
396 ResourceMark rm; |
396 ResourceMark rm; |