equal
deleted
inserted
replaced
1032 void GenCollectedHeap::object_iterate(ObjectClosure* cl) { |
1032 void GenCollectedHeap::object_iterate(ObjectClosure* cl) { |
1033 _young_gen->object_iterate(cl); |
1033 _young_gen->object_iterate(cl); |
1034 _old_gen->object_iterate(cl); |
1034 _old_gen->object_iterate(cl); |
1035 } |
1035 } |
1036 |
1036 |
1037 void GenCollectedHeap::safe_object_iterate(ObjectClosure* cl) { |
|
1038 _young_gen->safe_object_iterate(cl); |
|
1039 _old_gen->safe_object_iterate(cl); |
|
1040 } |
|
1041 |
|
1042 Space* GenCollectedHeap::space_containing(const void* addr) const { |
1037 Space* GenCollectedHeap::space_containing(const void* addr) const { |
1043 Space* res = _young_gen->space_containing(addr); |
1038 Space* res = _young_gen->space_containing(addr); |
1044 if (res != NULL) { |
1039 if (res != NULL) { |
1045 return res; |
1040 return res; |
1046 } |
1041 } |