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

Fix recent NULL usage backsliding

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • None
    • hotspot
    • None
    • b26

      In the 2 weeks since JDK-8342860 we've had some more backsliding in the use of NULL in HotSpot code. Some of these are NULL in comments that should be null. Some are NULL in code that should be nullptr.

      8338383: Implement JEP 491: Synchronize Virtual Threads without Pinning
      ./cpu/aarch64/templateInterpreterGenerator_aarch64.cpp
      ./cpu/riscv/templateInterpreterGenerator_riscv.cpp
      ./cpu/x86/templateInterpreterGenerator_x86.cpp

      8331497: Implement JEP 483: Ahead-of-Time Class Loading & Linking
      ./share/cds/metaspaceShared.cpp
      ./share/oops/constantPool.cpp -- 2 occurrences

      8305895: Implement JEP 450: Compact Object Headers (Experimental)
      ./share/cds/archiveUtils.hpp

      8229278: Improve print_location for invalid heap pointers
      ./share/gc/shared/locationPrinter.inline.hpp

            kbarrett Kim Barrett
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: