Merge
authorccheung
Mon, 09 May 2016 21:27:19 +0200
changeset 38253 dfaea7239a11
parent 38252 f601a770c82f (current diff)
parent 38251 6a4902a969d3 (diff)
child 38258 75b244d187b0
Merge
--- a/hotspot/src/share/vm/gc/parallel/pcTasks.cpp	Mon May 09 12:20:02 2016 -0700
+++ b/hotspot/src/share/vm/gc/parallel/pcTasks.cpp	Mon May 09 21:27:19 2016 +0200
@@ -220,13 +220,13 @@
 }
 
 //
-// StealRegionCompactionTask
+// CompactionWithStealingTask
 //
 
-StealRegionCompactionTask::StealRegionCompactionTask(ParallelTaskTerminator* t):
+CompactionWithStealingTask::CompactionWithStealingTask(ParallelTaskTerminator* t):
   _terminator(t) {}
 
-void StealRegionCompactionTask::do_it(GCTaskManager* manager, uint which) {
+void CompactionWithStealingTask::do_it(GCTaskManager* manager, uint which) {
   assert(ParallelScavengeHeap::heap()->is_gc_active(), "called outside gc");
 
   ParCompactionManager* cm =
--- a/hotspot/src/share/vm/gc/parallel/pcTasks.hpp	Mon May 09 12:20:02 2016 -0700
+++ b/hotspot/src/share/vm/gc/parallel/pcTasks.hpp	Mon May 09 21:27:19 2016 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2016, 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
@@ -195,16 +195,16 @@
 };
 
 //
-// StealRegionCompactionTask
+// CompactionWithStealingTask
 //
 // This task is used to distribute work to idle threads.
 //
 
-class StealRegionCompactionTask : public GCTask {
+class CompactionWithStealingTask : public GCTask {
  private:
    ParallelTaskTerminator* const _terminator;
  public:
-  StealRegionCompactionTask(ParallelTaskTerminator* t);
+  CompactionWithStealingTask(ParallelTaskTerminator* t);
 
   char* name() { return (char *)"steal-region-task"; }
   ParallelTaskTerminator* terminator() { return _terminator; }
--- a/hotspot/src/share/vm/gc/parallel/psCompactionManager.hpp	Mon May 09 12:20:02 2016 -0700
+++ b/hotspot/src/share/vm/gc/parallel/psCompactionManager.hpp	Mon May 09 21:27:19 2016 +0200
@@ -40,7 +40,7 @@
   friend class ParallelTaskTerminator;
   friend class ParMarkBitMap;
   friend class PSParallelCompact;
-  friend class StealRegionCompactionTask;
+  friend class CompactionWithStealingTask;
   friend class UpdateAndFillClosure;
   friend class RefProcTaskExecutor;
   friend class IdleGCTask;
--- a/hotspot/src/share/vm/gc/parallel/psParallelCompact.cpp	Mon May 09 12:20:02 2016 -0700
+++ b/hotspot/src/share/vm/gc/parallel/psParallelCompact.cpp	Mon May 09 21:27:19 2016 +0200
@@ -2371,7 +2371,7 @@
   // Once a thread has drained it's stack, it should try to steal regions from
   // other threads.
   for (uint j = 0; j < parallel_gc_threads; j++) {
-    q->enqueue(new StealRegionCompactionTask(terminator_ptr));
+    q->enqueue(new CompactionWithStealingTask(terminator_ptr));
   }
 }