src/share/vm/opto/library_call.cpp

changeset 1462
39b01ab7035a
parent 1421
62001a362ce9
child 1587
cd37471eaecc
     1.1 --- a/src/share/vm/opto/library_call.cpp	Wed Oct 07 19:01:55 2009 -0400
     1.2 +++ b/src/share/vm/opto/library_call.cpp	Fri Oct 16 02:05:46 2009 -0700
     1.3 @@ -4160,13 +4160,13 @@
     1.4            result_mem ->set_req(_objArray_path, reset_memory());
     1.5          }
     1.6        }
     1.7 -      // We can dispense with card marks if we know the allocation
     1.8 -      // comes out of eden (TLAB)...  In fact, ReduceInitialCardMarks
     1.9 -      // causes the non-eden paths to simulate a fresh allocation,
    1.10 -      // insofar that no further card marks are required to initialize
    1.11 -      // the object.
    1.12 -
    1.13        // Otherwise, there are no card marks to worry about.
    1.14 +      // (We can dispense with card marks if we know the allocation
    1.15 +      //  comes out of eden (TLAB)...  In fact, ReduceInitialCardMarks
    1.16 +      //  causes the non-eden paths to take compensating steps to
    1.17 +      //  simulate a fresh allocation, so that no further
    1.18 +      //  card marks are required in compiled code to initialize
    1.19 +      //  the object.)
    1.20  
    1.21        if (!stopped()) {
    1.22          copy_to_clone(obj, alloc_obj, obj_size, true, false);

mercurial