8225514: Shenandoah: ShenandoahCodeRoots should inherit from AllStatic
authorzgu
Mon, 10 Jun 2019 13:42:11 -0400
changeset 55316 218f5a414379
parent 55315 4cf21c5c956a
child 55317 b76aee290002
8225514: Shenandoah: ShenandoahCodeRoots should inherit from AllStatic Reviewed-by: shade
src/hotspot/share/gc/shenandoah/shenandoahCodeRoots.hpp
--- a/src/hotspot/share/gc/shenandoah/shenandoahCodeRoots.hpp	Mon Jun 10 09:41:09 2019 -0700
+++ b/src/hotspot/share/gc/shenandoah/shenandoahCodeRoots.hpp	Mon Jun 10 13:42:11 2019 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2017, 2018, Red Hat, Inc. All rights reserved.
+ * Copyright (c) 2017, 2019, Red Hat, Inc. All rights reserved.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
@@ -122,7 +122,7 @@
   void possibly_parallel_blobs_do(CodeBlobClosure* f);
 };
 
-class ShenandoahCodeRoots : public CHeapObj<mtGC> {
+class ShenandoahCodeRoots : public AllStatic {
   friend class ShenandoahHeap;
   friend class ShenandoahCodeRootsIterator;