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

Test TestCodeCacheFull.java fails with option -XX:-UseCodeCacheFlushing

XMLWordPrintable

    • x86_64, aarch64
    • linux

      Test jdk/jfr/event/compiler/TestCodeCacheFull.java fails with option -XX:-UseCodeCacheFlushing.

      The test log snippet:
      STDERR:
      OpenJDK 64-Bit Server VM warning: CodeHeap 'non-profiled nmethods' is full. Compiler has been disabled.
      OpenJDK 64-Bit Server VM warning: Try increasing the code heap size using -XX:NonProfiledCodeHeapSize=
      OpenJDK 64-Bit Server VM warning: C1 initialization failed. Shutting down all compilers
      java.lang.RuntimeException: No events: expected false, was true
              at jdk.test.lib.Asserts.fail(Asserts.java:715)
              at jdk.test.lib.Asserts.assertFalse(Asserts.java:520)
              at jdk.test.lib.jfr.Events.hasEvents(Events.java:159)
              at jdk.jfr.event.compiler.TestCodeCacheFull.testWithBlobType(TestCodeCacheFull.java:69)
              at jdk.jfr.event.compiler.TestCodeCacheFull.main(TestCodeCacheFull.java:57)

            syan Sendao Yan
            syan Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: