RFR: 8279526: Exceptions::count_out_of_memory_exceptions miscounts class metaspace OOMEs

Zhengyu Gu zgu at openjdk.java.net
Wed Jan 5 17:41:15 UTC 2022


On Wed, 5 Jan 2022 16:38:22 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> SonarCloud reports that `Universe::is_out_of_memory_error_class_metaspace` is not used after JDK-8278125. Indeed, that patch [seems to introduce](https://github.com/openjdk/jdk/commit/ad1dc9c2ae5463363aff20072a3f2ca4ea23acd2?diff=unified#diff-997cf62de09eb9ba3ba9a8fc1d48666b913b4ece76a4f37559a985282788d913L466-R466) a typo in `Exceptions::count_out_of_memory_exceptions`.
> 
> Additional testing:
>  - [x] Linux x86_64 fastdebug `hotspot:tier1`

Looks good.

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

Marked as reviewed by zgu (Reviewer).

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


More information about the hotspot-dev mailing list