< prev index next >

src/hotspot/share/jfr/recorder/storage/jfrStorage.cpp

Print this page
*** 245,11 ***
      const bool thread_is_excluded = thread->jfr_thread_local()->is_excluded();
      buffer->reinitialize(thread_is_excluded);
      assert(buffer->empty(), "invariant");
      if (!thread_is_excluded) {
        // state change from exclusion to inclusion requires a thread checkpoint
!       JfrCheckpointManager::write_thread_checkpoint(thread);
      }
      return true;
    }
  
    BufferPtr const promotion_buffer = acquire_promotion_buffer(unflushed_size, _global_mspace, *this, promotion_retry, thread);
--- 245,11 ---
      const bool thread_is_excluded = thread->jfr_thread_local()->is_excluded();
      buffer->reinitialize(thread_is_excluded);
      assert(buffer->empty(), "invariant");
      if (!thread_is_excluded) {
        // state change from exclusion to inclusion requires a thread checkpoint
!       JfrCheckpointManager::write_checkpoint(thread);
      }
      return true;
    }
  
    BufferPtr const promotion_buffer = acquire_promotion_buffer(unflushed_size, _global_mspace, *this, promotion_retry, thread);
< prev index next >