Integrated: 8336299: Improve GCLocker stall diagnostics

Neethu Prasad nprasad at openjdk.org
Tue Aug 27 16:48:14 UTC 2024


On Mon, 22 Jul 2024 13:52:41 GMT, Neethu Prasad <nprasad at openjdk.org> wrote:

> **Notes**
> Adding logs to get more visibility into how fast a thread resumes from allocation stall. 
> 
> **Testing**
> * tier 1, tier 2, hotspot_gc tests.
> 
> Example log messages
> 
> 1. Last thread exiting. Performing GC after exiting critical section. Thread "main" 0 locked.
> 
> 2. Thread exiting critical region. Thread "main" 0 locked.
> 
> 3. Thread stalled by JNI critical section. Resumed after 1294ms. Thread "Thread-0".
> 
> 4. Thread blocked to enter critical region. Resumed after 1280ms. Thread "SIGINT handler".

This pull request has now been integrated.

Changeset: 284c3cde
Author:    Neethu Prasad <nprasad at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/284c3cde5e1b7115fb17c51f3ed17c1be95845bc
Stats:     43 lines in 1 file changed: 27 ins; 0 del; 16 mod

8336299: Improve GCLocker stall diagnostics

Reviewed-by: ayang, shade, tschatzl

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

PR: https://git.openjdk.org/jdk/pull/20277


More information about the hotspot-gc-dev mailing list