RFR: 8279887: 2 Null pointer dereference defect groups in os_posix.cpp [v2]

Christian Hagedorn chagedorn at openjdk.java.net
Thu Jan 20 14:22:49 UTC 2022


On Thu, 20 Jan 2022 12:53:45 GMT, David Holmes <dholmes at openjdk.org> wrote:

> > Could turning this into a sanity assertion check with the comment as a failure message be an option instead?
> 
> You mean as a way to circumvent the tool? 

Yes.

> Perhaps - though I would not want to do that either as this is a problem that could be seen in many call-chains that use JVM_ENTRY (and other cases) to get the "thread". In any case this has been reported as a false positive now.

I see, thanks for the explanation David! Then I think it was the right way to report it as false positive.

-------------

PR: https://git.openjdk.java.net/jdk/pull/7129


More information about the hotspot-dev mailing list