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

SuperWord::co_locate_pack picks memory state of first instead of last load

    Details

    • Subcomponent:
    • Resolved In Build:
      b13

      Backports

        Description

        See the test and results in attachment. To reproduce run:
        lmesnik@lmesnik-linux:~/Downloads/r2-341$ java -Xmx1G -Xcomp -Xbatch -XX:-TieredCompilation -XX:CompileOnly=Test Test > t2
        lmesnik@lmesnik-linux:~/Downloads/r2-341$ java Test > t1
        lmesnik@lmesnik-linux:~/Downloads/r2-341$ diff t1 t2
        8c8
        < vMeth2_check_sum: 76938300011633752
        ---
        > vMeth2_check_sum: 76938300011612984
        18c18
        < vMeth2_check_sum: 144510166892263619
        ---
        > vMeth2_check_sum: 144510166892242851
        28c28
        < vMeth2_check_sum: 212082033772893486
        ---
        > vMeth2_check_sum: 212082033772872718
        38c38
        < vMeth2_check_sum: 279653900653523353
        ---
        > vMeth2_check_sum: 279653900653502585
        48c48
        < vMeth2_check_sum: 347225767534153220
        ---
        > vMeth2_check_sum: 347225767534132452
        58c58
        < vMeth2_check_sum: 414797634414783087
        ---
        > vMeth2_check_sum: 414797634414762319
        68c68
        < vMeth2_check_sum: 482369501295412954
        ---
        > vMeth2_check_sum: 482369501295392186
        78c78
        < vMeth2_check_sum: 549941368176042821
        ---
        > vMeth2_check_sum: 549941368176022053
        88c88
        < vMeth2_check_sum: 617513235056672688
        ---
        > vMeth2_check_sum: 617513235056651920
        98c98
        < vMeth2_check_sum: 685085101937302555
        ---
        > vMeth2_check_sum: 685085101937281787

          Attachments

          1. FuzzerUtils.class
            8 kB
          2. FuzzerUtils.java
            13 kB
          3. FuzzerUtils$1.class
            0.8 kB
          4. load_pack_memory.png
            load_pack_memory.png
            21 kB
          5. t1
            3 kB
          6. t2
            3 kB
          7. Test.class
            5 kB
          8. Test.java
            7 kB

            Issue Links

              Activity

                People

                • Assignee:
                  chagedorn Christian Hagedorn
                  Reporter:
                  lmesnik Leonid Mesnik
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: