changeset 13460:dfb4acef4a04

8185884: NMT: taskqueues are miscategorized to mtClass Summary: Corrected memory type for taskqueue, which should be mtGC instead of mtClass Reviewed-by: coleenp, shade
author zgu
date Mon, 07 Aug 2017 13:52:05 -0400
parents f6f83ccda93a
children f2ec523d900b
files src/share/vm/gc/shared/taskqueue.hpp
diffstat 1 files changed, 5 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/gc/shared/taskqueue.hpp	Fri Aug 04 21:41:41 2017 -0700
+++ b/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