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

C2: bailout message broken: ResourceArea allocated string used after free

    XMLWordPrintable

Details

    • b16
    • 21
    • b13

    Backports

      Description

        Originally reported by [~kvn] in JDK-8324743.

        As [~dlong] said, this is a regression of JDK-8303951.

        JDK 22 and latest 23 produces strange message:

        java -XX:CICompilerCount=1 -XX:-TieredCompilation X:+PrintCompilation -Xbatch -Xmx128m TestNestedLocks
        154 1 b java.util.ArrayList::add (25 bytes)
        159 2 b java.util.ArrayList::add (23 bytes)
        162 3 !b TestNestedLocks::test (102 bytes)
        162 3 !b TestNestedLocks::test (102 bytes) COMPILE SKIPPED: ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
        182 4 % !b TestNestedLocks::main @ 18 (39 bytes)
        184 5 !b TestNestedLocks::main (39 bytes)
        637 4 % ! TestNestedLocks::main @ 18 (39 bytes) made not entrant
        OOM caught in test

        It looks like something was broken recently with bailout messages.

        Attachments

          Issue Links

            Activity

              People

                epeter Emanuel Peter
                epeter Emanuel Peter
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: