RFR: JDK-8046901 - Check jdk/src/solaris/native/sun/nio for Parfait flagged uninitialized memory

Roger Riggs Roger.Riggs at Oracle.com
Wed Feb 18 18:28:54 UTC 2015


Hi,

Looks fine to me also.
Unfortunately, marking false positives in the tool creates a required 
synchronization between
the tool configuration and the JDK, if that gets lost or out of sync the 
warnings might re-appear.
In theory, it might be possible to inform the tool of what happens to 
the output arguments
on a successful call.  But would require specific information about 
every library call.

Roger


On 2/18/2015 11:17 AM, Alan Bateman wrote:
> On 18/02/2015 15:45, Mark Sheppard wrote:
>> Hi Alan,
>>    that's correct it's not an issue (false positive) as port is an 
>> out parameter, but the
>> prescription was to initialize any flagged variables.
> I don't object to the change of course but I would have thought that 
> it should be possible to flag them in the tool as false positives.
>
> -Alan



More information about the net-dev mailing list