mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8150778: Reduce Throwable.getStackTrace() calls to the JVM
Replace JVM_GetStackTraceDepth and JVM_GetStackTraceElement, with JVM_GetStackTraceElements that gets all the elements in the StackTraceElement[] Reviewed-by: shade, mchung, dholmes, hseigel
This commit is contained in:
parent
fc407c943e
commit
4a05d83db0
9 changed files with 312 additions and 163 deletions
|
@ -376,6 +376,7 @@
|
|||
template(fillInStackTrace_name, "fillInStackTrace") \
|
||||
template(getCause_name, "getCause") \
|
||||
template(initCause_name, "initCause") \
|
||||
template(depth_name, "depth") \
|
||||
template(setProperty_name, "setProperty") \
|
||||
template(getProperty_name, "getProperty") \
|
||||
template(context_name, "context") \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue