--- a/hotspot/src/share/vm/gc_implementation/parallelScavenge/pcTasks.cpp Fri Sep 18 09:57:47 2009 -0700
+++ b/hotspot/src/share/vm/gc_implementation/parallelScavenge/pcTasks.cpp Wed Sep 23 23:56:15 2009 -0700
@@ -59,9 +59,8 @@
PrintGCDetails && TraceParallelOldGCTasks, true, gclog_or_tty));
ParCompactionManager* cm =
ParCompactionManager::gc_thread_compaction_manager(which);
- // cm->allocate_stacks();
assert(cm->stacks_have_been_allocated(),
- "Stack space has not been allocated");
+ "Stack space has not been allocated");
PSParallelCompact::MarkAndPushClosure mark_and_push_closure(cm);
switch (_root_type) {
@@ -136,9 +135,8 @@
PrintGCDetails && TraceParallelOldGCTasks, true, gclog_or_tty));
ParCompactionManager* cm =
ParCompactionManager::gc_thread_compaction_manager(which);
- // cm->allocate_stacks();
assert(cm->stacks_have_been_allocated(),
- "Stack space has not been allocated");
+ "Stack space has not been allocated");
PSParallelCompact::MarkAndPushClosure mark_and_push_closure(cm);
PSParallelCompact::FollowStackClosure follow_stack_closure(cm);
_rp_task.work(_work_id, *PSParallelCompact::is_alive_closure(),