build error on linux, nmethod.cpp

Tom Rodriguez Thomas.Rodriguez at Sun.COM
Mon Jan 4 11:47:45 PST 2010


I think you're right.  I'll fix that.

tom

On Jan 4, 2010, at 5:09 AM, Christian Thalinger wrote:

> On Sat, 2010-01-02 at 06:11 -0800, Deneau, Tom wrote:
>> When I pulled from http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot
>> and then tried to compile on linux, I got the following new error...
>> 
>>  cc1plus: warnings being treated as errors
>>  /hotspot-comp-latest/src/share/vm/code/nmethod.cpp: In member function 'bool nmethod::make_not_entrant_or_zombie(int)':
>>  /hotspot-comp-latest/src/share/vm/code/nmethod.cpp:1197: warning: comparison between signed and unsigned integer expressions
>> 
>> I am using
>>   gcc version 4.1.2 20070502 (Red Hat 4.1.2-12)
>> 
>> # hg tip
>> changeset:   1102:1ea456c6f2b7
>> tag:         tip
>> parent:      1101:cf9a9a50e763
>> parent:      1098:032260830071
>> user:        iveresov
>> date:        Tue Dec 22 17:56:03 2009 -0800
>> summary:     Merge
> 
> This was introduced by:
> 
> http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/032260830071
> 
> Maybe we should change the argument type to unsigned int.
> 
> -- Christian
> 



More information about the hotspot-compiler-dev mailing list