On Mon, 28 Sep 2020 08:40:15 GMT, Robbin Ehn <r...@openjdk.org> wrote:
>> Robbin Ehn has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Add constructor and comment. Previous renames caused confusing, improved >> names once more and moved non-public to private > > Thanks David. Robbin, thank you for your answers! There are JVMTI functions that are specified to return error code JVMTI_ERROR_THREAD_NOT_ALIVE. As an example, see: https://docs.oracle.com/en/java/javase/15/docs/specs/jvmti.html#GetStackTrace The following functions are impacted by your fix: GetOwnedMonitorInfo, GetOwnedMonitorStackDepthInfo, GetCurrentContendedMonitor, GetStackTrace, GetFrameCount, GetFrameLocation, PopFrame I wonder, how this error code can be ever returned for these functions now. ------------- PR: https://git.openjdk.java.net/jdk/pull/151