equal
deleted
inserted
replaced
36 // |
36 // |
37 class JfrRecorder : public JfrCHeapObj { |
37 class JfrRecorder : public JfrCHeapObj { |
38 friend class Jfr; |
38 friend class Jfr; |
39 friend void recorderthread_entry(JavaThread*, Thread*); |
39 friend void recorderthread_entry(JavaThread*, Thread*); |
40 private: |
40 private: |
|
41 static bool on_create_vm_1(); |
|
42 static bool on_create_vm_2(); |
|
43 static bool on_create_vm_3(); |
41 static bool create_checkpoint_manager(); |
44 static bool create_checkpoint_manager(); |
42 static bool create_chunk_repository(); |
45 static bool create_chunk_repository(); |
43 static bool create_java_event_writer(); |
46 static bool create_java_event_writer(); |
44 static bool create_jvmti_agent(); |
47 static bool create_jvmti_agent(); |
45 static bool create_os_interface(); |
48 static bool create_os_interface(); |
50 static bool create_stringpool(); |
53 static bool create_stringpool(); |
51 static bool create_thread_sampling(); |
54 static bool create_thread_sampling(); |
52 static bool create_components(); |
55 static bool create_components(); |
53 static void destroy_components(); |
56 static void destroy_components(); |
54 static void on_recorder_thread_exit(); |
57 static void on_recorder_thread_exit(); |
55 static bool on_vm_start(); |
|
56 static bool on_vm_init(); |
|
57 |
58 |
58 public: |
59 public: |
59 static bool is_enabled(); |
60 static bool is_enabled(); |
60 static bool is_disabled(); |
61 static bool is_disabled(); |
61 static bool create(bool simulate_failure); |
62 static bool create(bool simulate_failure); |