Mercurial > hg > truffle
comparison src/share/vm/prims/unsafe.cpp @ 8499:96a337d307bd
-More progress in G1 WBs
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Mon, 04 Mar 2013 16:46:37 +0100 |
parents | 1e41b0bc58a0 |
children | 86b4965f0c9a |
comparison
equal
deleted
inserted
replaced
8498:c158d128fae9 | 8499:96a337d307bd |
---|---|
206 } | 206 } |
207 } | 207 } |
208 } | 208 } |
209 | 209 |
210 if (needs_barrier) { | 210 if (needs_barrier) { |
211 tty->print_cr("GENERATE PRE BARRIER UNSAFE"); | |
212 | |
211 oop referent = JNIHandles::resolve(ret); | 213 oop referent = JNIHandles::resolve(ret); |
212 G1SATBCardTableModRefBS::enqueue(referent); | 214 G1SATBCardTableModRefBS::enqueue(referent); |
213 } | 215 } |
214 } | 216 } |
215 #endif // SERIALGC | 217 #endif // SERIALGC |
264 } | 266 } |
265 } | 267 } |
266 } | 268 } |
267 | 269 |
268 if (needs_barrier) { | 270 if (needs_barrier) { |
271 tty->print_cr("GENERATE PRE BARRIER UNSAFE"); | |
272 | |
269 oop referent = JNIHandles::resolve(ret); | 273 oop referent = JNIHandles::resolve(ret); |
270 G1SATBCardTableModRefBS::enqueue(referent); | 274 G1SATBCardTableModRefBS::enqueue(referent); |
271 } | 275 } |
272 } | 276 } |
273 #endif // SERIALGC | 277 #endif // SERIALGC |