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.