OutputAnalyzer.matches() should use Matcher with Pattern.MULTILINE

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 26
    • Affects Version/s: 26
    • Component/s: hotspot
    • None
    • Environment:

      macOS 26.0.1

    • 26
    • b23
    • aarch64
    • os_x

      After JDK-8370797 the test still fails:

      ----------System.err:(72/3303)----------
       stdout: [[0.002s][info][metaspace] - commit_granule_bytes: 65536.
      [0.002s][info][metaspace] - commit_granule_words: 8192.
      [0.002s][info][metaspace] - virtual_space_node_default_size: 8388608.
      [0.002s][info][metaspace] - enlarge_chunks_in_place: 1.
      Error occurred during initialization of VM
      CompressedClassSpaceBaseAddress=0x0000000800000000 given, but reserving class space failed.
      ];
       stderr: []
       exitValue = 1

       stdout: [[0.002s][info][metaspace] - commit_granule_bytes: 65536.
      [0.002s][info][metaspace] - commit_granule_words: 8192.
      [0.002s][info][metaspace] - virtual_space_node_default_size: 8388608.
      [0.002s][info][metaspace] - enlarge_chunks_in_place: 1.
      Error occurred during initialization of VM
      CompressedClassSpaceBaseAddress=0x0000000900000000 given, but reserving class space failed.
      ];
       stderr: []
       exitValue = 1

       stdout: [[0.003s][info][metaspace] - commit_granule_bytes: 65536.
      [0.003s][info][metaspace] - commit_granule_words: 8192.
      [0.003s][info][metaspace] - virtual_space_node_default_size: 8388608.
      [0.003s][info][metaspace] - enlarge_chunks_in_place: 1.
      Error occurred during initialization of VM
      CompressedClassSpaceBaseAddress=0x0000000a00000000 given, but reserving class space failed.
      ];
       stderr: []
       exitValue = 1

       stdout: [[0.002s][info][metaspace] - commit_granule_bytes: 65536.
      [0.002s][info][metaspace] - commit_granule_words: 8192.
      [0.002s][info][metaspace] - virtual_space_node_default_size: 8388608.
      [0.002s][info][metaspace] - enlarge_chunks_in_place: 1.
      Error occurred during initialization of VM
      CompressedClassSpaceBaseAddress=0x0000000b00000000 given, but reserving class space failed.
      ];
       stderr: []
       exitValue = 1

       stdout: [[0.002s][info][metaspace] - commit_granule_bytes: 65536.
      [0.002s][info][metaspace] - commit_granule_words: 8192.
      [0.002s][info][metaspace] - virtual_space_node_default_size: 8388608.
      [0.002s][info][metaspace] - enlarge_chunks_in_place: 1.
      Error occurred during initialization of VM
      CompressedClassSpaceBaseAddress=0x0000000c00000000 given, but reserving class space failed.
      ];
       stderr: []
       exitValue = 1

       stdout: [[0.002s][info][metaspace] - commit_granule_bytes: 65536.
      [0.002s][info][metaspace] - commit_granule_words: 8192.
      [0.002s][info][metaspace] - virtual_space_node_default_size: 8388608.
      [0.002s][info][metaspace] - enlarge_chunks_in_place: 1.
      [0.008s][info][metaspace] Successfully forced class space address to 0x0000000d00000000
      Error occurred during initialization of VM
      CompressedClassSpaceBaseAddress=0x0000000d00000000 given with shift 6, cannot be used to encode class pointers
      ];
       stderr: []
       exitValue = 1

            Assignee:
            Ioi Lam
            Reporter:
            David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: