RFR: 8264051: Remove unused TRAPS parameters from runtime functions [v2]

Coleen Phillimore coleenp at openjdk.java.net
Wed Mar 24 03:22:05 UTC 2021


> This change removes the TRAPS parameter from compute_modifier_flags(), lookup_instance_method_in_klasses and nest_host_error.
> 
> There's a progressive effort to remove cases where the last parameter of a function is THREAD, and it's unclear why it is ignoring an exception or whether an exception is expected, if it doesn't subsequently have a check for HAS_PENDING_EXCEPTION.
> 
> Tested locally with tier1 tests and tier1 tests on 4 Oracle platforms in progress.

Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:

  removed thread parameter from nest_host_error and callers.

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3157/files
  - new: https://git.openjdk.java.net/jdk/pull/3157/files/57f5254e..3ce07844

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

  Stats: 15 lines in 5 files changed: 0 ins; 0 del; 15 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3157.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3157/head:pull/3157

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


More information about the hotspot-dev mailing list