gtest G1HeapRegion.apply_to_marked_object_other_vm faliing with JDK26

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P3
    • 26
    • Affects Version/s: 26
    • Component/s: hotspot
    • gc

      When running hotspot gtest tests with the jdk26 branch, seeing the `G1HeapRegion.apply_to_marked_object_other_vm` test failing consistently. Including steps to replicate below:

      ```
      > docker run -it public.ecr.aws/amazonlinux/amazonlinux:2023
      mkdir temp
      cd temp

      mkdir deps
      cd deps
      rpm --import https://yum.corretto.aws/corretto.key
      curl -L -o /etc/yum.repos.d/corretto.repo https://yum.corretto.aws/corretto.repo
      yum install -y wget git autoconf file diffutils findutils tar make unzip zip java-25-amazon-corretto-devel gcc14 gcc14-c++ alsa-lib-devel cups-devel fontconfig-devel libXtst-devel libXt-devel libXrender-devel libXrandr-devel libXi-devel
      wget https://builds.shipilev.net/jtreg/jtreg-8.1%2B1.zip
      unzip jtreg-8.1+1.zip
      git clone https://github.com/google/googletest.git
      cd googletest
      git checkout v1.14.0
      cd ../../

      git clone https://github.com/openjdk/jdk.git
      cd jdk
      git checkout jdk26
      CC=gcc14-gcc CXX=gcc14-g++ bash ./configure --with-jtreg=/temp/deps/jtreg --with-gtest=/temp/deps/googletest
      make run-test TEST="gtest:all"
      ```

      Notably, when using the jdk25 branch, all tests are passing.

            Assignee:
            Unassigned
            Reporter:
            Satyen Subramaniam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: