src/share/vm/gc_implementation/parallelScavenge/gcTaskManager.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Sdiff src/share/vm/gc_implementation/parallelScavenge

src/share/vm/gc_implementation/parallelScavenge/gcTaskManager.cpp

Print this page




  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #include "precompiled.hpp"
  26 #include "gc_implementation/parallelScavenge/gcTaskManager.hpp"
  27 #include "gc_implementation/parallelScavenge/gcTaskThread.hpp"
  28 #include "gc_implementation/shared/adaptiveSizePolicy.hpp"
  29 #include "memory/allocation.hpp"
  30 #include "memory/allocation.inline.hpp"
  31 #include "runtime/mutex.hpp"
  32 #include "runtime/mutexLocker.hpp"
  33 


  34 //
  35 // GCTask
  36 //
  37 
  38 const char* GCTask::Kind::to_string(kind value) {
  39   const char* result = "unknown GCTask kind";
  40   switch (value) {
  41   default:
  42     result = "unknown GCTask kind";
  43     break;
  44   case unknown_task:
  45     result = "unknown task";
  46     break;
  47   case ordinary_task:
  48     result = "ordinary task";
  49     break;
  50   case barrier_task:
  51     result = "barrier task";
  52     break;
  53   case noop_task:




  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #include "precompiled.hpp"
  26 #include "gc_implementation/parallelScavenge/gcTaskManager.hpp"
  27 #include "gc_implementation/parallelScavenge/gcTaskThread.hpp"
  28 #include "gc_implementation/shared/adaptiveSizePolicy.hpp"
  29 #include "memory/allocation.hpp"
  30 #include "memory/allocation.inline.hpp"
  31 #include "runtime/mutex.hpp"
  32 #include "runtime/mutexLocker.hpp"
  33 
  34 PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC
  35 
  36 //
  37 // GCTask
  38 //
  39 
  40 const char* GCTask::Kind::to_string(kind value) {
  41   const char* result = "unknown GCTask kind";
  42   switch (value) {
  43   default:
  44     result = "unknown GCTask kind";
  45     break;
  46   case unknown_task:
  47     result = "unknown task";
  48     break;
  49   case ordinary_task:
  50     result = "ordinary task";
  51     break;
  52   case barrier_task:
  53     result = "barrier task";
  54     break;
  55   case noop_task:


src/share/vm/gc_implementation/parallelScavenge/gcTaskManager.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File