RFR: 8009985: [parfait] Uninitialised variable at jdk/src/solaris/native/com/sun/management/UnixOperatingSystem_md.c
David Holmes
david.holmes at oracle.com
Wed Apr 24 03:16:08 PDT 2013
+1 from me but I'm surprised this code doesn't always report an error -
must be pure chance that the uninitialized value == KERN_SUCCESS
David
On 24/04/2013 7:31 PM, Peter Allwin wrote:
> Hi all, I'm looking for reviews of this change:
>
> Parfait has identified an incorrect return code comparison in
> UnixOperatingSystemMXBean getOpenFileDescriptorCount on OSX. Very simple
> fix is to check against the correct variable.
>
> CR: http://cr.openjdk.java.net/~sla/peter/8009985/webrev.00/
> JBS: https://jbs.oracle.com/bugs/browse/JDK-8009985
>
>
> Thanks!
>
> /peter
More information about the hotspot-runtime-dev
mailing list