34 class MetaspaceTracer : public CHeapObj<mtTracing> { |
34 class MetaspaceTracer : public CHeapObj<mtTracing> { |
35 template <typename E> |
35 template <typename E> |
36 void send_allocation_failure_event(ClassLoaderData *cld, |
36 void send_allocation_failure_event(ClassLoaderData *cld, |
37 size_t word_size, |
37 size_t word_size, |
38 MetaspaceObj::Type objtype, |
38 MetaspaceObj::Type objtype, |
39 metaspace::MetadataType mdtype) const; |
39 Metaspace::MetadataType mdtype) const; |
40 public: |
40 public: |
41 void report_gc_threshold(size_t old_val, |
41 void report_gc_threshold(size_t old_val, |
42 size_t new_val, |
42 size_t new_val, |
43 MetaspaceGCThresholdUpdater::Type updater) const; |
43 MetaspaceGCThresholdUpdater::Type updater) const; |
44 void report_metaspace_allocation_failure(ClassLoaderData *cld, |
44 void report_metaspace_allocation_failure(ClassLoaderData *cld, |
45 size_t word_size, |
45 size_t word_size, |
46 MetaspaceObj::Type objtype, |
46 MetaspaceObj::Type objtype, |
47 metaspace::MetadataType mdtype) const; |
47 Metaspace::MetadataType mdtype) const; |
48 void report_metadata_oom(ClassLoaderData *cld, |
48 void report_metadata_oom(ClassLoaderData *cld, |
49 size_t word_size, |
49 size_t word_size, |
50 MetaspaceObj::Type objtype, |
50 MetaspaceObj::Type objtype, |
51 metaspace::MetadataType mdtype) const; |
51 Metaspace::MetadataType mdtype) const; |
52 |
52 |
53 }; |
53 }; |
54 |
54 |
55 #endif // SHARE_MEMORY_METASPACETRACER_HPP |
55 #endif // SHARE_MEMORY_METASPACETRACER_HPP |