Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/shared/markSweep.cpp @ 2177:3582bf76420e
6990754: Use native memory and reference counting to implement SymbolTable
Summary: move symbols from permgen into C heap and reference count them
Reviewed-by: never, acorn, jmasa, stefank
author | coleenp |
---|---|
date | Thu, 27 Jan 2011 16:11:27 -0800 |
parents | f95d63e2154a |
children | 1d1603768966 |
comparison
equal
deleted
inserted
replaced
2176:27e4ea99855d | 2177:3582bf76420e |
---|---|
109 void MarkSweep::FollowRootClosure::do_oop(oop* p) { follow_root(p); } | 109 void MarkSweep::FollowRootClosure::do_oop(oop* p) { follow_root(p); } |
110 void MarkSweep::FollowRootClosure::do_oop(narrowOop* p) { follow_root(p); } | 110 void MarkSweep::FollowRootClosure::do_oop(narrowOop* p) { follow_root(p); } |
111 | 111 |
112 MarkSweep::MarkAndPushClosure MarkSweep::mark_and_push_closure; | 112 MarkSweep::MarkAndPushClosure MarkSweep::mark_and_push_closure; |
113 | 113 |
114 void MarkSweep::MarkAndPushClosure::do_oop(oop* p) { mark_and_push(p); } | 114 void MarkSweep::MarkAndPushClosure::do_oop(oop* p) { assert(*p == NULL || (*p)->is_oop(), ""); mark_and_push(p); } |
115 void MarkSweep::MarkAndPushClosure::do_oop(narrowOop* p) { mark_and_push(p); } | 115 void MarkSweep::MarkAndPushClosure::do_oop(narrowOop* p) { mark_and_push(p); } |
116 | 116 |
117 void MarkSweep::follow_stack() { | 117 void MarkSweep::follow_stack() { |
118 do { | 118 do { |
119 while (!_marking_stack.is_empty()) { | 119 while (!_marking_stack.is_empty()) { |