RFR(M): 8031997: PPC64: Make the various POLL constants system dependant

Florian Weimer fweimer at redhat.com
Fri Jan 17 13:23:08 UTC 2014


On 01/17/2014 12:25 PM, Volker Simonis wrote:
> To avoid a mapping of the Java constants to the native ones every time
> we go from Java to Native and back, this change replaces the currently
> used constants with a single instance of constants which is placed in
> src/share/classes/sun/nio/ch/Net.java and which are dynamically
> initialized from native methods with the correct, platfrom-specific
> values.

Previously, the constants where inlined at the class file level.  Is 
there a downside to not doing this?

-- 
Florian Weimer / Red Hat Product Security Team



More information about the core-libs-dev mailing list