> This patch removes the work to save the Method name in the backtrace that was > used for the case where redefinition could delete the method that was on the > stack in the stack trace, but saved then deleted with redefinition later. > RedefineClasses' ability to add/delete methods has been deprecated for many > releases, so adding code and memory for this case is wasting space and time. > This change speeds up Throwable microbenchmarks by about 10-30%, and speeds > up DaCapo pmd by a bit. > > Remerged with the change to factor out javaStackTraceClasses. > > Tested with tier1-4. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision: Remove spare file. ------------- Changes: - all: https://git.openjdk.org/jdk/pull/32202/files - new: https://git.openjdk.org/jdk/pull/32202/files/f6440aee..8b9314d4 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=32202&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=32202&range=00-01 Stats: 0 lines in 1 file changed: 0 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/32202.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/32202/head:pull/32202 PR: https://git.openjdk.org/jdk/pull/32202
