Mercurial > hg > truffle
comparison src/share/vm/oops/oop.cpp @ 113:ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
Summary: Compressed oops in instances, arrays, and headers. Code contributors are coleenp, phh, never, swamyv
Reviewed-by: jmasa, kamg, acorn, tbell, kvn, rasbold
author | coleenp |
---|---|
date | Sun, 13 Apr 2008 17:43:42 -0400 |
parents | a61af66fc99e |
children | d1605aabd0a1 |
comparison
equal
deleted
inserted
replaced
110:a49a647afe9a | 113:ba764ed4b6f2 |
---|---|
103 void oopDesc::verify() { | 103 void oopDesc::verify() { |
104 verify_on(tty); | 104 verify_on(tty); |
105 } | 105 } |
106 | 106 |
107 | 107 |
108 // XXX verify_old_oop doesn't do anything (should we remove?) | |
108 void oopDesc::verify_old_oop(oop* p, bool allow_dirty) { | 109 void oopDesc::verify_old_oop(oop* p, bool allow_dirty) { |
109 blueprint()->oop_verify_old_oop(this, p, allow_dirty); | 110 blueprint()->oop_verify_old_oop(this, p, allow_dirty); |
110 } | 111 } |
111 | 112 |
113 void oopDesc::verify_old_oop(narrowOop* p, bool allow_dirty) { | |
114 blueprint()->oop_verify_old_oop(this, p, allow_dirty); | |
115 } | |
112 | 116 |
113 bool oopDesc::partially_loaded() { | 117 bool oopDesc::partially_loaded() { |
114 return blueprint()->oop_partially_loaded(this); | 118 return blueprint()->oop_partially_loaded(this); |
115 } | 119 } |
116 | 120 |
128 assert(!is_shared_readonly(), "using identity hash on readonly object?"); | 132 assert(!is_shared_readonly(), "using identity hash on readonly object?"); |
129 return ObjectSynchronizer::identity_hash_value_for(object); | 133 return ObjectSynchronizer::identity_hash_value_for(object); |
130 } | 134 } |
131 | 135 |
132 VerifyOopClosure VerifyOopClosure::verify_oop; | 136 VerifyOopClosure VerifyOopClosure::verify_oop; |
137 | |
138 void VerifyOopClosure::do_oop(oop* p) { VerifyOopClosure::do_oop_work(p); } | |
139 void VerifyOopClosure::do_oop(narrowOop* p) { VerifyOopClosure::do_oop_work(p); } |