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

sometimes the wrong refs are cleared by the gc code

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.1
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      1.1
    • CPU:
      sparc
    • OS:
      solaris_2.3
    • Verification:
      Not verified

      Description

      In deciding which refs to bash, the gc code builds an array of the least recently used refs. Then it bashes some of them, stopping if it looks like enough space will be freed. It considers the refs to bash in the wrong order. This only matters if the space condition is satisfied. In the case that the space condition is not satisfied (yealding the intended bashing), it might be a good idea to bash some more refs immediately (like the ones inthe upper half of the bag), but this doesn't happen either.

        Attachments

          Activity

            People

            Assignee:
            tlindholsunw Timothy Lindholm (Inactive)
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: