--- 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;