RFR: 8283188: Build time regression caused by JDK-8278917

Albert Mingkun Yang ayang at openjdk.java.net
Wed Mar 16 13:04:03 UTC 2022


Move `G1CollectedHeap::mark_evac_failure_object` to cpp so that `g1CollectedHeap.inline.hpp` doesn't need to include `g1ConcurrentMark.inline.hpp`.

With the patch, the build time of clean fastdebug is reduced by ~16s.

Before: 6:25.72
After: 6:09.76

-------------

Commit messages:
 - build-time

Changes: https://git.openjdk.java.net/jdk/pull/7839/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7839&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8283188
  Stats: 16 lines in 3 files changed: 7 ins; 8 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7839.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7839/head:pull/7839

PR: https://git.openjdk.java.net/jdk/pull/7839



More information about the hotspot-gc-dev mailing list