Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
At SAP we added a small feature to retrieve the current context when an assert happens and make that part of the hs-err file. That works similar to the SafeFetch logic: when an assert happens, we trigger a segfault and in the signal handler we squirrel the ucontext away, before continuing with error reporting. We do this right after the assert condition was evaluated, within the assert macro itself, as to preserve the context as close to the assertion point as possible. A short poll on hotspot-runtime-dev [1] indicated that there is interest we contribute this feature. [1] http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2017-October/025018.html
|