changeset 48972:b2bb70f5effd

8197772: metaspace uses global operator new/delete for gtest testing Summary: Inherit ChunkManagerReturnTestImpl from CHeapObj Reviewed-by: kbarrett, zgu
author coleenp
date Wed, 14 Feb 2018 09:09:37 -0500
parents c81bab0287ab
children e9b007212236
files src/hotspot/share/memory/metaspace.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/memory/metaspace.cpp	Wed Feb 14 09:03:31 2018 -0500
+++ b/src/hotspot/share/memory/metaspace.cpp	Wed Feb 14 09:09:37 2018 -0500
@@ -4372,7 +4372,7 @@
 // ChunkManagerReturnTest stresses taking/returning chunks from the ChunkManager. It takes and
 // returns chunks from/to the ChunkManager while keeping track of the expected ChunkManager
 // content.
-class ChunkManagerReturnTestImpl {
+class ChunkManagerReturnTestImpl : public CHeapObj<mtClass> {
 
   VirtualSpaceNode _vsn;
   ChunkManager _cm;