< prev index next >

src/hotspot/share/memory/metaspaceTracer.hpp

Print this page
rev 57601 : [mq]: metaspace-improvement

*** 25,55 **** #ifndef SHARE_MEMORY_METASPACETRACER_HPP #define SHARE_MEMORY_METASPACETRACER_HPP #include "memory/allocation.hpp" #include "memory/metaspace.hpp" ! #include "memory/metaspaceGCThresholdUpdater.hpp" class ClassLoaderData; class MetaspaceTracer : public CHeapObj<mtTracing> { template <typename E> void send_allocation_failure_event(ClassLoaderData *cld, size_t word_size, MetaspaceObj::Type objtype, ! Metaspace::MetadataType mdtype) const; public: void report_gc_threshold(size_t old_val, size_t new_val, MetaspaceGCThresholdUpdater::Type updater) const; void report_metaspace_allocation_failure(ClassLoaderData *cld, size_t word_size, MetaspaceObj::Type objtype, ! Metaspace::MetadataType mdtype) const; void report_metadata_oom(ClassLoaderData *cld, size_t word_size, MetaspaceObj::Type objtype, ! Metaspace::MetadataType mdtype) const; }; #endif // SHARE_MEMORY_METASPACETRACER_HPP --- 25,55 ---- #ifndef SHARE_MEMORY_METASPACETRACER_HPP #define SHARE_MEMORY_METASPACETRACER_HPP #include "memory/allocation.hpp" #include "memory/metaspace.hpp" ! #include "memory/metaspace/metaspaceEnums.hpp" class ClassLoaderData; class MetaspaceTracer : public CHeapObj<mtTracing> { template <typename E> void send_allocation_failure_event(ClassLoaderData *cld, size_t word_size, MetaspaceObj::Type objtype, ! metaspace::MetadataType mdtype) const; public: void report_gc_threshold(size_t old_val, size_t new_val, MetaspaceGCThresholdUpdater::Type updater) const; void report_metaspace_allocation_failure(ClassLoaderData *cld, size_t word_size, MetaspaceObj::Type objtype, ! metaspace::MetadataType mdtype) const; void report_metadata_oom(ClassLoaderData *cld, size_t word_size, MetaspaceObj::Type objtype, ! metaspace::MetadataType mdtype) const; }; #endif // SHARE_MEMORY_METASPACETRACER_HPP
< prev index next >