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

Six jdk/jfr/api/consumer/recordingstream testcases fails Missing object ID 1 in pool jdk.types.ClassLoader

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • 24
    • 24
    • hotspot
    • jfr
    • 24
    • generic
    • linux

      The following 6 testcases fails:
      jdk/jfr/api/consumer/recordingstream/TestClose.java
      jdk/jfr/api/consumer/recordingstream/TestOnErrorAsync.java
      jdk/jfr/api/consumer/recordingstream/TestOnErrorSync.java
      jdk/jfr/api/consumer/recordingstream/TestOnEvent.java
      jdk/jfr/api/consumer/recordingstream/TestOnFlush.java
      jdk/jfr/api/consumer/recordingstream/TestOnMetadata.java

      The test log snippet:
      STDERR:
      java.lang.AssertionError: Missing object ID 1 in pool jdk.types.ClassLoader. All IDs should reference an object
      at jdk.jfr/jdk.jfr.internal.consumer.ConstantMap.get(ConstantMap.java:80)
      at jdk.jfr/jdk.jfr.internal.consumer.Reference.resolve(Reference.java:38)
      at jdk.jfr/jdk.jfr.internal.consumer.ConstantMap.resolve(ConstantMap.java:119)
      at jdk.jfr/jdk.jfr.internal.consumer.ConstantMap.resolve(ConstantMap.java:125)
      at jdk.jfr/jdk.jfr.internal.consumer.ConstantMap.get(ConstantMap.java:100)
      at jdk.jfr/jdk.jfr.internal.consumer.ConstantMap.lambda$resolve$0(ConstantMap.java:133)
      at jdk.jfr/jdk.jfr.internal.LongMap.forEachKey(LongMap.java:237)
      at jdk.jfr/jdk.jfr.internal.consumer.ConstantMap.resolve(ConstantMap.java:133)
      at jdk.jfr/jdk.jfr.internal.consumer.ChunkParser.lambda$new$2(ChunkParser.java:143)
      at jdk.jfr/jdk.jfr.internal.LongMap.forEach(LongMap.java:246)
      at jdk.jfr/jdk.jfr.internal.consumer.ChunkParser.<init>(ChunkParser.java:143)
      at jdk.jfr/jdk.jfr.internal.consumer.ChunkParser.<init>(ChunkParser.java:109)
      at jdk.jfr/jdk.jfr.internal.consumer.EventDirectoryStream.processRecursionSafe(EventDirectoryStream.java:158)
      at jdk.jfr/jdk.jfr.internal.consumer.EventDirectoryStream.process(EventDirectoryStream.java:131)
      at jdk.jfr/jdk.jfr.internal.consumer.AbstractEventStream.execute(AbstractEventStream.java:261)
      at jdk.jfr/jdk.jfr.internal.consumer.AbstractEventStream$1.run(AbstractEventStream.java:284)
      at jdk.jfr/jdk.jfr.internal.consumer.AbstractEventStream$1.run(AbstractEventStream.java:281)
      at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
      at jdk.jfr/jdk.jfr.internal.consumer.AbstractEventStream.run(AbstractEventStream.java:281)
      at jdk.jfr/jdk.jfr.internal.consumer.AbstractEventStream.lambda$startAsync$1(AbstractEventStream.java:224)
      at java.base/java.lang.Thread.run(Thread.java:1575)
      STATUS:Failed.`main' threw exception: java.lang.AssertionError: Missing object ID 1 in pool jdk.types.ClassLoader. All IDs should reference an object

        1. TestClose.java.log
          13 kB
          Sendao Yan
        2. TestRecursive.java.log
          66 kB
          Sendao Yan

            mgronlun Markus Grönlund
            syan Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: