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

sometimes the wrong refs are cleared by the gc code

    XMLWordPrintable

Details

    • 1.1
    • sparc
    • solaris_2.3
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: