# HG changeset patch # User Christos Kotselidis # Date 1373273802 -7200 # Node ID add96a4e79f701e442be64202d230496123a95e1 # Parent 2e82291febf498f9a3d6a3d2153fcbaffdb8f386# Parent 3c2a77f01e8932ba590d5ba277e3209e5ed925b5 Merge diff -r 3c2a77f01e89 -r add96a4e79f7 graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/WriteBarrierSnippets.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/WriteBarrierSnippets.java Mon Jul 08 09:58:00 2013 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/WriteBarrierSnippets.java Mon Jul 08 10:56:42 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. @@ -161,7 +159,7 @@ int gcCycle = 0; if (trace) { gcCycle = (int) Word.unsigned(HotSpotReplacementsUtil.gcTotalCollectionsAddress()).readLong(0); - log(trace, "[%d] G1-Post Thread: %p Object: %p Field: %p\n", gcCycle, thread.rawValue(), Word.fromObject(fixedObject).rawValue()); + log(trace, "[%d] G1-Post Thread: %p Object: %p\n", gcCycle, thread.rawValue(), Word.fromObject(fixedObject).rawValue()); log(trace, "[%d] G1-Post Thread: %p Field: %p\n", gcCycle, thread.rawValue(), field.rawValue()); } Word writtenValue = (Word) Word.fromObject(fixedValue);