RFR: 8266337: ThreadTimesClosure doesn't handle exceptions properly

Serguei Spitsyn sspitsyn at openjdk.java.net
Tue Jun 1 23:12:31 UTC 2021


On Tue, 1 Jun 2021 21:54:27 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

> 8266337: ThreadTimesClosure doesn't handle exceptions properly

Hi Leonid,

This looks good to me.
One thing to consider is to use `os::strdup_check_oom` instead of `os::strdup`.
The os::strdup can return NULL.

Thanks,
Serguei

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

Marked as reviewed by sspitsyn (Reviewer).

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


More information about the serviceability-dev mailing list