changeset 46981:add50afae9e1

Merge
author kvn
date Thu, 24 Aug 2017 22:46:23 +0000
parents 28e20e703392 6d4058ac744f
children 2e6921bc9f8e
files
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/src/share/vm/services/memTracker.hpp	Thu Aug 24 13:11:02 2017 -0700
+++ b/hotspot/src/share/vm/services/memTracker.hpp	Thu Aug 24 22:46:23 2017 +0000
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2013, 2017, 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
@@ -213,6 +213,7 @@
       if (tracking_level() < NMT_summary) return;
       VirtualMemoryTracker::add_reserved_region((address)addr, size,
         stack, flag, true);
+      VirtualMemoryTracker::add_committed_region((address)addr, size, stack);
     }
   }