equal
deleted
inserted
replaced
2085 for (Metadata** p = metadata_begin(); p < metadata_end(); p++) { |
2085 for (Metadata** p = metadata_begin(); p < metadata_end(); p++) { |
2086 if (*p == Universe::non_oop_word() || *p == NULL) continue; // skip non-oops |
2086 if (*p == Universe::non_oop_word() || *p == NULL) continue; // skip non-oops |
2087 Metadata* md = *p; |
2087 Metadata* md = *p; |
2088 f(md); |
2088 f(md); |
2089 } |
2089 } |
|
2090 |
|
2091 // Call function Method*, not embedded in these other places. |
|
2092 if (_method != NULL) f(_method); |
2090 } |
2093 } |
2091 |
2094 |
2092 void nmethod::oops_do(OopClosure* f, bool allow_zombie) { |
2095 void nmethod::oops_do(OopClosure* f, bool allow_zombie) { |
2093 // make sure the oops ready to receive visitors |
2096 // make sure the oops ready to receive visitors |
2094 assert(allow_zombie || !is_zombie(), "should not call follow on zombie nmethod"); |
2097 assert(allow_zombie || !is_zombie(), "should not call follow on zombie nmethod"); |