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

Don't use naked == for comparing oops

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • None
    • hotspot
    • None
    • gc
    • b10
    • generic
    • generic

      GCs might need to handle object comparison specially, for example, when a concurrent GC allows both from- and to-space copies of an object to be in use. In this case, object equality cannot be expressed by direct address comparsion, but must also take potential different versions of an object into account.

            rkennke Roman Kennke
            rkennke Roman Kennke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: