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

Performance: jweak references not suitable for robust cache architecture

XMLWordPrintable

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

      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

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

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

              Created:
              Updated:
              Resolved: