< prev index next >

src/hotspot/share/jfr/recorder/service/jfrEvent.hpp

Print this page
*** 218,11 ***
      if (!(T::isInstant || T::isRequestable) || T::hasCutoff) {
        assert(_end_time != 0, "invariant");
        writer.write(_end_time - _start_time);
      }
      if (T::hasThread) {
!       writer.write(tl->thread_id());
      }
      if (T::hasStackTrace) {
        if (is_stacktrace_enabled()) {
          if (tl->has_cached_stack_trace()) {
            writer.write(tl->cached_stack_trace_id());
--- 218,11 ---
      if (!(T::isInstant || T::isRequestable) || T::hasCutoff) {
        assert(_end_time != 0, "invariant");
        writer.write(_end_time - _start_time);
      }
      if (T::hasThread) {
!       writer.write(JfrThreadLocal::thread_id(event_thread));
      }
      if (T::hasStackTrace) {
        if (is_stacktrace_enabled()) {
          if (tl->has_cached_stack_trace()) {
            writer.write(tl->cached_stack_trace_id());
< prev index next >