equal
deleted
inserted
replaced
110 }; |
110 }; |
111 |
111 |
112 class ZConcurrentRootsIterator { |
112 class ZConcurrentRootsIterator { |
113 private: |
113 private: |
114 ZOopStorageIterator _jni_handles_iter; |
114 ZOopStorageIterator _jni_handles_iter; |
|
115 ZOopStorageIterator _vm_handles_iter; |
115 int _cld_claim; |
116 int _cld_claim; |
116 |
117 |
117 void do_jni_handles(ZRootsIteratorClosure* cl); |
118 void do_jni_handles(ZRootsIteratorClosure* cl); |
|
119 void do_vm_handles(ZRootsIteratorClosure* cl); |
118 void do_class_loader_data_graph(ZRootsIteratorClosure* cl); |
120 void do_class_loader_data_graph(ZRootsIteratorClosure* cl); |
119 |
121 |
120 ZParallelOopsDo<ZConcurrentRootsIterator, &ZConcurrentRootsIterator::do_jni_handles> _jni_handles; |
122 ZParallelOopsDo<ZConcurrentRootsIterator, &ZConcurrentRootsIterator::do_jni_handles> _jni_handles; |
|
123 ZParallelOopsDo<ZConcurrentRootsIterator, &ZConcurrentRootsIterator::do_vm_handles> _vm_handles; |
121 ZParallelOopsDo<ZConcurrentRootsIterator, &ZConcurrentRootsIterator::do_class_loader_data_graph> _class_loader_data_graph; |
124 ZParallelOopsDo<ZConcurrentRootsIterator, &ZConcurrentRootsIterator::do_class_loader_data_graph> _class_loader_data_graph; |
122 |
125 |
123 public: |
126 public: |
124 ZConcurrentRootsIterator(int cld_claim); |
127 ZConcurrentRootsIterator(int cld_claim); |
125 ~ZConcurrentRootsIterator(); |
128 ~ZConcurrentRootsIterator(); |