Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8316992

Potential null pointer from get_current_thread JVMCI helper function.

XMLWordPrintable

    • b09
    • other

      Some existing JVMCI C++ code leads a static analysis tool to think a nullptr can be passed to `Atomic::PlatformStore<4ull>::operator()<int>` (https://github.com/openjdk/jdk/blob/b75c134facc4dbd9f171024a12994dda818c5471/src/hotspot/share/runtime/atomic.hpp#L616-L624) from code paths in jvmciCompilerToVM.cpp that use the get_current_thread helper function (https://github.com/openjdk/jdk/blob/b75c134facc4dbd9f171024a12994dda818c5471/src/hotspot/share/jvmci/jvmciCompilerToVM.cpp#L182-L189).

            dnsimon Douglas Simon
            shadowbug Shadow Bug
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: