src/share/vm/gc_implementation/parNew/parNewGeneration.hpp

changeset 1130
becb17ad5e51
parent 1114
cea947c8a988
child 1580
e018e6884bd8
     1.1 --- a/src/share/vm/gc_implementation/parNew/parNewGeneration.hpp	Sat Mar 28 15:47:29 2009 -0700
     1.2 +++ b/src/share/vm/gc_implementation/parNew/parNewGeneration.hpp	Thu Apr 02 15:57:41 2009 -0700
     1.3 @@ -33,8 +33,8 @@
     1.4  // but they must be here to allow ParScanClosure::do_oop_work to be defined
     1.5  // in genOopClosures.inline.hpp.
     1.6  
     1.7 -typedef OopTaskQueue    ObjToScanQueue;
     1.8 -typedef OopTaskQueueSet ObjToScanQueueSet;
     1.9 +typedef OopTaskQueue       ObjToScanQueue;
    1.10 +typedef OopTaskQueueSet    ObjToScanQueueSet;
    1.11  
    1.12  // Enable this to get push/pop/steal stats.
    1.13  const int PAR_STATS_ENABLED = 0;
    1.14 @@ -116,7 +116,9 @@
    1.15  
    1.16    ParScanThreadState(Space* to_space_, ParNewGeneration* gen_,
    1.17                       Generation* old_gen_, int thread_num_,
    1.18 -                     ObjToScanQueueSet* work_queue_set_, size_t desired_plab_sz_,
    1.19 +                     ObjToScanQueueSet* work_queue_set_,
    1.20 +                     GrowableArray<oop>** overflow_stack_set_,
    1.21 +                     size_t desired_plab_sz_,
    1.22                       ParallelTaskTerminator& term_);
    1.23  
    1.24   public:
    1.25 @@ -296,9 +298,12 @@
    1.26          char pad[64 - sizeof(ObjToScanQueue)];  // prevent false sharing
    1.27    };
    1.28  
    1.29 -  // The per-thread work queues, available here for stealing.
    1.30 +  // The per-worker-thread work queues
    1.31    ObjToScanQueueSet* _task_queues;
    1.32  
    1.33 +  // Per-worker-thread local overflow stacks
    1.34 +  GrowableArray<oop>** _overflow_stacks;
    1.35 +
    1.36    // Desired size of survivor space plab's
    1.37    PLABStats _plab_stats;
    1.38  

mercurial