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

Strange behaviour by codecache sweeper

XMLWordPrintable

      I have noticed that when doing a JFR recording on a Java-program that has been alive on a computer that has slept for the night - most of the code cache is purged.

      What I think is happening is that the code is considered cold - which it is, since the program hasn't been i use. The question is - why is the purge triggered by a JFR-recording and not happening otherwise?

      We also need to investigate under what circumstances this happens - does the codecache need to be almost full for this to happen?

        1. clion-code-cache-2020-12-08 23-53-46.png
          112 kB
          Nils Eliasson
        2. clion-code-sweeper-2020-12-08 23-52-38.png
          45 kB
          Nils Eliasson
        3. Sweeperbug.png
          60 kB
          Nils Eliasson

            Unassigned Unassigned
            neliasso Nils Eliasson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: