RFR: 8339030: frame::print_value_on(outputStream* st, JavaThread *thread) doesn't need thread argument

Leonid Mesnik lmesnik at openjdk.org
Tue Aug 27 00:23:17 UTC 2024


Method
frame::print_value_on(outputStream* st, JavaThread *thread) doesn't need thread argument

it usually is called with nullptr as second arg except
JavaThread::trace_frames()
where it is called with this.

It seems that thread has never been used since 2007 so makes sense just to get rid of it.

Tested building all builds available in CI and running tier13

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

Commit messages:
 - 8339030: frame::print_value_on(outputStream* st, JavaThread *thread) doesn't need thread argument

Changes: https://git.openjdk.org/jdk/pull/20721/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20721&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8339030
  Stats: 16 lines in 7 files changed: 0 ins; 0 del; 16 mod
  Patch: https://git.openjdk.org/jdk/pull/20721.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20721/head:pull/20721

PR: https://git.openjdk.org/jdk/pull/20721


More information about the hotspot-dev mailing list