Mercurial > hg > graal-compiler
changeset 10631:2e82291febf4
Oop verification after printing oop
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Mon, 08 Jul 2013 09:08:43 +0200 |
parents | ca3865947682 |
children | add96a4e79f7 |
files | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/WriteBarrierSnippets.java |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/WriteBarrierSnippets.java Mon Jul 08 09:08:04 2013 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/WriteBarrierSnippets.java Mon Jul 08 09:08:43 2013 +0200 @@ -121,10 +121,8 @@ if (probability(LIKELY_PROBABILITY, doLoad)) { previousOop = (Word) Word.fromObject(field.readObjectCompressed(0)); if (trace) { - if (previousOop.notEqual(Word.zero())) { - verifyOop(previousOop.toObject()); - } log(trace, "[%d] G1-Pre Thread %p Previous Object %p\n ", gcCycle, thread.rawValue(), previousOop.rawValue()); + verifyOop(previousOop.toObject()); } } // If the previous value is null the barrier should not be issued.