Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/shared/markSweep.cpp @ 980:c3c4a1d3801a
6884552: remove some unnecessary #ifdef's introduced in the fix for 4957990
Summary: Removed the unnecessary #ifdef's which were interfering with the build of the Zero-assembler port
Reviewed-by: ysr, jcoomes
author | andrew |
---|---|
date | Wed, 23 Sep 2009 11:36:06 -0700 |
parents | 8b46c4d82093 |
children | 7a102acc9f17 46b819ba120b |
comparison
equal
deleted
inserted
replaced
961:d7c9544cc141 | 980:c3c4a1d3801a |
---|---|
71 _revisit_klass_stack->at(i)->follow_weak_klass_links(&is_alive,&keep_alive); | 71 _revisit_klass_stack->at(i)->follow_weak_klass_links(&is_alive,&keep_alive); |
72 } | 72 } |
73 follow_stack(); | 73 follow_stack(); |
74 } | 74 } |
75 | 75 |
76 #if ( defined(COMPILER1) || defined(COMPILER2) ) | |
77 void MarkSweep::revisit_mdo(DataLayout* p) { | 76 void MarkSweep::revisit_mdo(DataLayout* p) { |
78 _revisit_mdo_stack->push(p); | 77 _revisit_mdo_stack->push(p); |
79 } | 78 } |
80 | 79 |
81 void MarkSweep::follow_mdo_weak_refs() { | 80 void MarkSweep::follow_mdo_weak_refs() { |
90 for (int i = 0; i < _revisit_mdo_stack->length(); i++) { | 89 for (int i = 0; i < _revisit_mdo_stack->length(); i++) { |
91 _revisit_mdo_stack->at(i)->follow_weak_refs(&is_alive); | 90 _revisit_mdo_stack->at(i)->follow_weak_refs(&is_alive); |
92 } | 91 } |
93 follow_stack(); | 92 follow_stack(); |
94 } | 93 } |
95 #endif // ( COMPILER1 || COMPILER2 ) | |
96 | 94 |
97 MarkSweep::FollowRootClosure MarkSweep::follow_root_closure; | 95 MarkSweep::FollowRootClosure MarkSweep::follow_root_closure; |
98 | 96 |
99 void MarkSweep::FollowRootClosure::do_oop(oop* p) { follow_root(p); } | 97 void MarkSweep::FollowRootClosure::do_oop(oop* p) { follow_root(p); } |
100 void MarkSweep::FollowRootClosure::do_oop(narrowOop* p) { follow_root(p); } | 98 void MarkSweep::FollowRootClosure::do_oop(narrowOop* p) { follow_root(p); } |