src/share/vm/c1/c1_FrameMap.cpp

changeset 739
dc7f315e41f7
parent 435
a61af66fc99e
child 772
9ee9cf798b59
     1.1 --- a/src/share/vm/c1/c1_FrameMap.cpp	Tue Aug 26 15:49:40 2008 -0700
     1.2 +++ b/src/share/vm/c1/c1_FrameMap.cpp	Wed Aug 27 00:21:55 2008 -0700
     1.3 @@ -278,7 +278,7 @@
     1.4  ByteSize FrameMap::sp_offset_for_monitor_base(const int index) const {
     1.5    int end_of_spills = round_to(first_available_sp_in_frame + _reserved_argument_area_size, sizeof(double)) +
     1.6      _num_spills * spill_slot_size_in_bytes;
     1.7 -  int offset = round_to(end_of_spills, HeapWordSize) + index * sizeof(BasicObjectLock);
     1.8 +  int offset = (int) round_to(end_of_spills, HeapWordSize) + index * sizeof(BasicObjectLock);
     1.9    return in_ByteSize(offset);
    1.10  }
    1.11  

mercurial