RFR: 8261675: ObjectValue::set_visited(bool) sets _visited false

Xin Liu xliu at openjdk.java.net
Sat Feb 13 01:56:53 UTC 2021


The setter is error-prone. it unconditionally sets _visited false.
this patch stores the argument to it.

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

Commit messages:
 - 8261675: ObjectValue::set_visited(bool) sets _visited false

Changes: https://git.openjdk.java.net/jdk/pull/2560/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2560&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8261675
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2560.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2560/head:pull/2560

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


More information about the hotspot-compiler-dev mailing list