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

Performance: jweak references not suitable for robust cache architecture

    XMLWordPrintable

Details

    • Bug
    • Resolution: Rejected
    • P4
    • tbd
    • 9
    • hotspot
    • None
    • gc

    Description

      Performance: jweak references not suitable for robust cache architecture

      #1 Contrary to the expectations, jweak objects that are destroyed with DeleteWeakGlobalRef() take more GC time than alive one, but with dead objects (see attached test case)

      #2 DeleteWeakGlobalRef() does not actually free the memory

      #3 jweaks are processed single threaded by the GC

      Attachments

        1. Test.c
          0.9 kB
        2. Test.java
          2 kB
        3. Test.java
          2 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gziemski Gerard Ziemski
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: