1.1 --- a/src/share/vm/c1/c1_LIRGenerator.cpp Tue Jun 09 16:19:10 2009 -0700 1.2 +++ b/src/share/vm/c1/c1_LIRGenerator.cpp Wed Jun 10 12:19:48 2009 -0700 1.3 @@ -1534,12 +1534,8 @@ 1.4 } 1.5 1.6 if (is_oop) { 1.7 -#ifdef PRECISE_CARDMARK 1.8 - // Precise cardmarks don't work 1.9 - post_barrier(LIR_OprFact::address(address), value.result()); 1.10 -#else 1.11 + // Store to object so mark the card of the header 1.12 post_barrier(object.result(), value.result()); 1.13 -#endif // PRECISE_CARDMARK 1.14 } 1.15 1.16 if (is_volatile && os::is_MP()) {