diff src/os/windows/vm/os_windows.cpp @ 10130:6f817ce50129

8010992: Remove calls to global ::operator new[] and new Summary: disable use of global operator new and new[] which could cause unexpected exception and escape from NMT tracking. Reviewed-by: coleenp, dholmes, zgu Contributed-by: yumin.qi@oracle.com
author minqi
date Fri, 19 Apr 2013 11:08:52 -0700
parents 8be1318fbe77
children 5b6512efcdc4 5a9fa2ba85f0
line wrap: on
line diff
--- a/src/os/windows/vm/os_windows.cpp	Thu Apr 18 14:03:37 2013 -0400
+++ b/src/os/windows/vm/os_windows.cpp	Fri Apr 19 11:08:52 2013 -0700
@@ -3305,7 +3305,7 @@
   assert(ret != SYS_THREAD_ERROR, "StartThread failed"); // should propagate back
 }
 
-class HighResolutionInterval {
+class HighResolutionInterval : public CHeapObj<mtThread> {
   // The default timer resolution seems to be 10 milliseconds.
   // (Where is this written down?)
   // If someone wants to sleep for only a fraction of the default,