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

SurvivorAlignmentInBytes tests too lenient

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2
    • Resolution: Unresolved
    • Affects Version/s: 9
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc

      Description

      The JTREG tests for the SurvivorAlignmentInBytes option test success/failure on the number of bytes the objects take after copying them around. In addition to that there is some slack that accounts for objects potentially created by VM agents, i.e. extra bytes copied around. It reports these additional bytes copied as "someone else allocated objects".

      The problem is that with the current amount of slack, most of the time the test succeeds, because it detects that "someone else copied a lot" (even without any agent).

      The task is to somehow find an alternative way of detecting correct functioning and avoid false failures at the same time.

        Issue Links

          Activity

          Hide
          jwilhelm Jesper Wilhelmsson added a comment -
          ILW = Medium (test passes when it shouldn't), High (bug exists, test doesn't fail), High (none) = P2
          Show
          jwilhelm Jesper Wilhelmsson added a comment - ILW = Medium (test passes when it shouldn't), High (bug exists, test doesn't fail), High (none) = P2
          Show
          tschatzl Thomas Schatzl added a comment - Please also see the comment https://bugs.openjdk.java.net/browse/JDK-8129886?focusedCommentId=13817579&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13817579 for causes of the test not being stable enough.

            People

            • Assignee:
              Unassigned
              Reporter:
              tschatzl Thomas Schatzl
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: