RFR: 8261036: Reduce classes loaded by CleanerFactory initialization [v2]

Claes Redestad redestad at openjdk.java.net
Wed Feb 3 13:43:57 UTC 2021


> This patch refactors CleanerFactory and InnocuousThread so that we need to load fewer PrivilegedActions. This slightly reduce the number of classes we always load on bootstrap, slightly reducing static and dynamic footprint (default CDS archive -4Kb).

Claes Redestad has updated the pull request incrementally with one additional commit since the last revision:

  Apply same pattern for newThread

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/2380/files
  - new: https://git.openjdk.java.net/jdk/pull/2380/files/e7951e33..043067eb

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2380&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2380&range=00-01

  Stats: 32 lines in 2 files changed: 12 ins; 10 del; 10 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2380.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2380/head:pull/2380

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


More information about the core-libs-dev mailing list