< prev index next >

src/hotspot/share/jfr/recorder/checkpoint/types/jfrThreadState.hpp

Print this page
*** 1,7 ***
  /*
! * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.
--- 1,7 ---
  /*
! * Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.

*** 35,17 ***
    static void serialize(JfrCheckpointWriter& writer);
  };
  
  class JfrThreadId : public AllStatic {
  public:
!   static traceid id(const Thread* t);
    static traceid os_id(const Thread* t);
!   static traceid jfr_id(const Thread* t);
  };
  
  class JfrThreadName : public AllStatic {
   public:
    // Requires a ResourceMark for get_thread_name/as_utf8
!   static const char* name(const Thread* t);
  };
  
  #endif // SHARE_JFR_RECORDER_CHECKPOINT_TYPES_JFRTHREADSTATE_HPP
--- 35,17 ---
    static void serialize(JfrCheckpointWriter& writer);
  };
  
  class JfrThreadId : public AllStatic {
  public:
!   static traceid id(const Thread* t, oop vthread = NULL);
    static traceid os_id(const Thread* t);
!   static traceid jfr_id(const Thread* t, traceid tid = 0);
  };
  
  class JfrThreadName : public AllStatic {
   public:
    // Requires a ResourceMark for get_thread_name/as_utf8
!   static const char* name(const Thread* t, oop vthread = NULL);
  };
  
  #endif // SHARE_JFR_RECORDER_CHECKPOINT_TYPES_JFRTHREADSTATE_HPP
< prev index next >