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

C2: Invalid ImplicitNullChecks with non-protected heap base

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 9, 10
    • hotspot
    • b164
    • ppc
    • aix
    • Not verified

        We have observed that C2 generates implicit null checks for write accesses to the heap base even though it was not protected (narrow_oop_use_implicit_null_checks = false).
        The problem showed up on AIX with -XX:HeapBaseMinAddress=32g. ReservedHeapSpace::establish_noaccess_prefix protects the base area on almost all platforms, but not on AIX (in some case).
        PhaseCFG::implicit_null_check needs to skip the transformation in this case.

              mdoerr Martin Doerr
              mdoerr Martin Doerr
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: