RFR: 8193559: ugly DO_JAVA_THREADS macro should be replaced [v4]

Daniel D.Daugherty dcubed at openjdk.java.net
Fri Jul 30 00:00:56 UTC 2021


> This is a simple rewrite of what is "Possibly the ugliest for loop the world has seen."
> Thanks to @stefank for the draft proposed fix. Thanks to @fisk for providing this
> piece of history that I'm finally getting around to cleaning up. While this macro has
> been with us for a long time, its time has passed...
> 
> Tested with Mach5 Tier[1-3].

Daniel D. Daugherty has updated the pull request incrementally with one additional commit since the last revision:

  8193559.kbarrett.part1 - Kim's proposed rewrite using newer C++ features.

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/4671/files
  - new: https://git.openjdk.java.net/jdk/pull/4671/files/a133ca42..3be5dc72

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4671&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4671&range=02-03

  Stats: 142 lines in 4 files changed: 109 ins; 30 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4671.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4671/head:pull/4671

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



More information about the hotspot-gc-dev mailing list