RFR (S): 8180755: Remove use of bitMap.inline.hpp include from instanceKlass.hpp and c1_ValueSet.hpp

David Holmes david.holmes at oracle.com
Tue May 23 12:31:35 UTC 2017


On 23/05/2017 8:36 PM, Thomas Schatzl wrote:
> Hi David,
> 
>    thanks for your review.
> 
> On Tue, 2017-05-23 at 11:38 +1000, David Holmes wrote:
>> Hi Thomas,
>>
>> This looks okay to me. A couple of comments:
>>
>> src/share/vm/oops/generateOopMap.cpp
>>
>> inline void GenerateOopMap::set_bbmark_bit(int bci) {
>>     _bb_hdr_bits.at_put(bci, true);
>> }
>>
>> Does "inline" serve any purpose here?
> 
> Removed.

It is still on the declaration in the header file:

     inline void   set_bbmark_bit              (int bci);

>>
>> ---
>>
>> src/share/vm/oops/generateOopMap.hpp
>>
>> -  void          set_bbmark_bit              (int bci) {
>> -    _bb_hdr_bits.at_put(bci, true);
>> -  }
>> +  inline void   set_bbmark_bit              (int bci);
>>      void          clear_bbmark_bit            (int bci) {
>>        _bb_hdr_bits.at_put(bci, false);
>>      }
>>
>> I don't understand why set_bbmark_bit had to be moved out but
>> clear_bbmark_bit remains ??
>>
> 
> It is never referenced. Removed the method.
Ok.

Thanks,
David

> http://cr.openjdk.java.net/~tschatzl/8180755/webrev.0_to_1 (diff)
> http://cr.openjdk.java.net/~tschatzl/8180755/webrev.1 (full)
> 
> Thanks,
>    Thomas
> 


More information about the hotspot-compiler-dev mailing list