RFC: architecture define probably masks variable names in header files

Paul Hohensee Paul.Hohensee at Sun.COM
Thu Jan 24 21:33:17 UTC 2008


Actually, I recall that one of the things we've always wanted to
do is get rid of HPI.  Never seems to be important enough.

Paul

Kelly O'Hair wrote:
> If it's not used, I say OFF WITH IT"S HEAD!  ;^)
>
> -kto
>
>
> Alan Bateman wrote:
>> Kelly O'Hair wrote:
>>> I very much suspect that this -D$(ARCH) could be removed with no 
>>> consequences.
>>> The difficult part would be verifying it.
>>>
>>> C macros are a very powerful tool, but some of the global names we 
>>> have chosen
>>>
>>> over the years have come back to haunt us. :^( 
>> src/solaris/hpi/native_threads is one place that seems to depend on 
>> $(ARCH) being defined. That code is part of the HPI "Thread" 
>> interface. As I recall, HotSpot doesn't use the HPI's "Thread" or 
>> "Memory" interfaces and so this code probably hasn't been used since 
>> the transition to HotSpot back in 1.3.
>>
>> -Alan.



More information about the build-dev mailing list