8185884: NMT: taskqueues are miscategorized to mtClass
authorzgu
Mon, 07 Aug 2017 13:52:05 -0400
changeset 46764 39432ed123bb
parent 46763 1b0ff6953b5a
child 46765 07298ebd9367
8185884: NMT: taskqueues are miscategorized to mtClass Summary: Corrected memory type for taskqueue, which should be mtGC instead of mtClass Reviewed-by: coleenp, shade
hotspot/src/share/vm/gc/shared/taskqueue.hpp
--- a/hotspot/src/share/vm/gc/shared/taskqueue.hpp	Fri Aug 04 21:41:41 2017 -0700
+++ b/hotspot/src/share/vm/gc/shared/taskqueue.hpp	Mon Aug 07 13:52:05 2017 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2001, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2017, 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
@@ -554,11 +554,10 @@
 #pragma warning(pop)
 #endif
 
-typedef OverflowTaskQueue<StarTask, mtClass>           OopStarTaskQueue;
-typedef GenericTaskQueueSet<OopStarTaskQueue, mtClass> OopStarTaskQueueSet;
+typedef OverflowTaskQueue<StarTask, mtGC>           OopStarTaskQueue;
+typedef GenericTaskQueueSet<OopStarTaskQueue, mtGC> OopStarTaskQueueSet;
 
-typedef OverflowTaskQueue<size_t, mtInternal>             RegionTaskQueue;
-typedef GenericTaskQueueSet<RegionTaskQueue, mtClass>     RegionTaskQueueSet;
-
+typedef OverflowTaskQueue<size_t, mtGC>             RegionTaskQueue;
+typedef GenericTaskQueueSet<RegionTaskQueue, mtGC>  RegionTaskQueueSet;
 
 #endif // SHARE_VM_GC_SHARED_TASKQUEUE_HPP