src/hotspot/share/services/mallocTracker.hpp
changeset 48955 e22914003cf0
parent 47634 6a0c42c40cd1
child 49364 601146c66cad
--- a/src/hotspot/share/services/mallocTracker.hpp	Sat Feb 10 09:25:35 2018 +0100
+++ b/src/hotspot/share/services/mallocTracker.hpp	Sun Feb 11 03:12:15 2018 -0500
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 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
@@ -66,8 +66,6 @@
     assert(_size >= sz, "deallocation > allocated");
     Atomic::dec(&_count);
     if (sz > 0) {
-      // unary minus operator applied to unsigned type, result still unsigned
-      #pragma warning(suppress: 4146)
       Atomic::sub(sz, &_size);
     }
   }