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

Aleksey Shipilev shade at openjdk.java.net
Wed Jan 5 16:45:30 UTC 2022


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`

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

Commit messages:
 - Fix

Changes: https://git.openjdk.java.net/jdk/pull/6970/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6970&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8279526
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6970.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6970/head:pull/6970

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


More information about the hotspot-dev mailing list