src/share/vm/c1/c1_LinearScan.cpp

changeset 3900
d2a62e0f25eb
parent 3787
6759698e3140
child 4051
8a02ca5e5576
     1.1 --- a/src/share/vm/c1/c1_LinearScan.cpp	Wed Jun 27 15:23:36 2012 +0200
     1.2 +++ b/src/share/vm/c1/c1_LinearScan.cpp	Thu Jun 28 17:03:16 2012 -0400
     1.3 @@ -2467,12 +2467,12 @@
     1.4  // Allocate them with new so they are never destroyed (otherwise, a
     1.5  // forced exit could destroy these objects while they are still in
     1.6  // use).
     1.7 -ConstantOopWriteValue* LinearScan::_oop_null_scope_value = new (ResourceObj::C_HEAP) ConstantOopWriteValue(NULL);
     1.8 -ConstantIntValue*      LinearScan::_int_m1_scope_value = new (ResourceObj::C_HEAP) ConstantIntValue(-1);
     1.9 -ConstantIntValue*      LinearScan::_int_0_scope_value =  new (ResourceObj::C_HEAP) ConstantIntValue(0);
    1.10 -ConstantIntValue*      LinearScan::_int_1_scope_value =  new (ResourceObj::C_HEAP) ConstantIntValue(1);
    1.11 -ConstantIntValue*      LinearScan::_int_2_scope_value =  new (ResourceObj::C_HEAP) ConstantIntValue(2);
    1.12 -LocationValue*         _illegal_value = new (ResourceObj::C_HEAP) LocationValue(Location());
    1.13 +ConstantOopWriteValue* LinearScan::_oop_null_scope_value = new (ResourceObj::C_HEAP, mtCompiler) ConstantOopWriteValue(NULL);
    1.14 +ConstantIntValue*      LinearScan::_int_m1_scope_value = new (ResourceObj::C_HEAP, mtCompiler) ConstantIntValue(-1);
    1.15 +ConstantIntValue*      LinearScan::_int_0_scope_value =  new (ResourceObj::C_HEAP, mtCompiler) ConstantIntValue(0);
    1.16 +ConstantIntValue*      LinearScan::_int_1_scope_value =  new (ResourceObj::C_HEAP, mtCompiler) ConstantIntValue(1);
    1.17 +ConstantIntValue*      LinearScan::_int_2_scope_value =  new (ResourceObj::C_HEAP, mtCompiler) ConstantIntValue(2);
    1.18 +LocationValue*         _illegal_value = new (ResourceObj::C_HEAP, mtCompiler) LocationValue(Location());
    1.19  
    1.20  void LinearScan::init_compute_debug_info() {
    1.21    // cache for frequently used scope values

mercurial