< prev index next >
src/hotspot/share/code/codeCache.cpp
Print this page
@@ -1637,5 +1637,56 @@
st->print(" total_blobs='" UINT32_FORMAT "' nmethods='" UINT32_FORMAT "'"
" adapters='" UINT32_FORMAT "' free_code_cache='" SIZE_FORMAT "'",
blob_count(), nmethod_count(), adapter_count(),
unallocated_capacity());
}
+
+//---< BEGIN >--- 8198691: CodeHeap State Analytics.
+
+void CodeCache::aggregate(outputStream *out, const char* granularity) {
+ FOR_ALL_HEAPS(heap) {
+ (*heap)->aggregate(out, granularity);
+ }
+}
+
+void CodeCache::discard(outputStream *out) {
+ FOR_ALL_HEAPS(heap) {
+ (*heap)->discard(out);
+ }
+}
+
+void CodeCache::print_usedSpace(outputStream *out) {
+ FOR_ALL_HEAPS(heap) {
+ (*heap)->print_usedSpace(out);
+ }
+}
+
+void CodeCache::print_freeSpace(outputStream *out) {
+ FOR_ALL_HEAPS(heap) {
+ (*heap)->print_freeSpace(out);
+ }
+}
+
+void CodeCache::print_count(outputStream *out) {
+ FOR_ALL_HEAPS(heap) {
+ (*heap)->print_count(out);
+ }
+}
+
+void CodeCache::print_space(outputStream *out) {
+ FOR_ALL_HEAPS(heap) {
+ (*heap)->print_space(out);
+ }
+}
+
+void CodeCache::print_age(outputStream *out) {
+ FOR_ALL_HEAPS(heap) {
+ (*heap)->print_age(out);
+ }
+}
+
+void CodeCache::print_names(outputStream *out) {
+ FOR_ALL_HEAPS(heap) {
+ (*heap)->print_names(out);
+ }
+}
+//---< END >--- 8198691: CodeHeap State Analytics.
< prev index next >