src/share/vm/opto/graphKit.cpp

changeset 1601
7b0e9cba0307
parent 1572
97125851f396
child 1648
6deeaebad47a
child 1687
f516d5d7a019
     1.1 --- a/src/share/vm/opto/graphKit.cpp	Tue Jan 12 14:56:46 2010 -0800
     1.2 +++ b/src/share/vm/opto/graphKit.cpp	Wed Jan 13 15:26:39 2010 -0800
     1.3 @@ -3259,9 +3259,10 @@
     1.4    if (use_ReduceInitialCardMarks()
     1.5        && obj == just_allocated_object(control())) {
     1.6      // We can skip marks on a freshly-allocated object in Eden.
     1.7 -    // Keep this code in sync with maybe_defer_card_mark() in runtime.cpp.
     1.8 -    // That routine informs GC to take appropriate compensating steps
     1.9 -    // so as to make this card-mark elision safe.
    1.10 +    // Keep this code in sync with new_store_pre_barrier() in runtime.cpp.
    1.11 +    // That routine informs GC to take appropriate compensating steps,
    1.12 +    // upon a slow-path allocation, so as to make this card-mark
    1.13 +    // elision safe.
    1.14      return;
    1.15    }
    1.16  

mercurial