--- a/src/hotspot/share/services/memTracker.hpp Mon Feb 05 08:08:01 2018 +0100
+++ b/src/hotspot/share/services/memTracker.hpp Mon Feb 05 13:23:26 2018 -0500
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2013, 2018, 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
@@ -63,8 +63,6 @@
static inline void record_virtual_memory_reserve_and_commit(void* addr, size_t size,
const NativeCallStack& stack, MEMFLAGS flag = mtNone) { }
static inline void record_virtual_memory_commit(void* addr, size_t size, const NativeCallStack& stack) { }
- static inline Tracker get_virtual_memory_uncommit_tracker() { return Tracker(); }
- static inline Tracker get_virtual_memory_release_tracker() { return Tracker(); }
static inline void record_virtual_memory_type(void* addr, MEMFLAGS flag) { }
static inline void record_thread_stack(void* addr, size_t size) { }
static inline void release_thread_stack(void* addr, size_t size) { }
@@ -227,16 +225,6 @@
}
}
- static inline Tracker get_virtual_memory_uncommit_tracker() {
- assert(tracking_level() >= NMT_summary, "Check by caller");
- return Tracker(Tracker::uncommit);
- }
-
- static inline Tracker get_virtual_memory_release_tracker() {
- assert(tracking_level() >= NMT_summary, "Check by caller");
- return Tracker(Tracker::release);
- }
-
static inline void record_virtual_memory_type(void* addr, MEMFLAGS flag) {
if (tracking_level() < NMT_summary) return;
if (addr != NULL) {