< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.hpp

Print this page
rev 59534 : 8245961: Shenandoah: move some root marking to concurrent phase

*** 248,264 **** class ShenandoahRootScanner : public ShenandoahRootProcessor { private: ShenandoahSerialRoots _serial_roots; ShenandoahThreadRoots _thread_roots; - ShenandoahCodeCacheRoots _code_roots; - ShenandoahVMRoots<false /*concurrent*/ > _vm_roots; ShenandoahStringDedupRoots _dedup_roots; ! ShenandoahClassLoaderDataRoots<false /*concurrent*/, false /*single threaded*/> ! _cld_roots; public: ShenandoahRootScanner(uint n_workers, ShenandoahPhaseTimings::Phase phase); // Apply oops, clds and blobs to all strongly reachable roots in the system, // during class unloading cycle void strong_roots_do(uint worker_id, OopClosure* cl); void strong_roots_do(uint worker_id, OopClosure* oops, CLDClosure* clds, CodeBlobClosure* code, ThreadClosure* tc = NULL); --- 248,262 ---- class ShenandoahRootScanner : public ShenandoahRootProcessor { private: ShenandoahSerialRoots _serial_roots; ShenandoahThreadRoots _thread_roots; ShenandoahStringDedupRoots _dedup_roots; ! public: ShenandoahRootScanner(uint n_workers, ShenandoahPhaseTimings::Phase phase); + ~ShenandoahRootScanner(); // Apply oops, clds and blobs to all strongly reachable roots in the system, // during class unloading cycle void strong_roots_do(uint worker_id, OopClosure* cl); void strong_roots_do(uint worker_id, OopClosure* oops, CLDClosure* clds, CodeBlobClosure* code, ThreadClosure* tc = NULL);
< prev index next >