review request (S/M) - 8057827: notify an obj when stats are available

Mikael Gerdin mikael.gerdin at oracle.com
Tue Sep 9 12:37:24 UTC 2014


On Tuesday 09 September 2014 00.45.04 John Coomes wrote:
> Please review the api for notifying an object when updated statistics
> are available at the end of a gc pause:
> 
> 8057827: notify an obj when allocation context stats are available
> 
> http://cr.openjdk.java.net/~jcoomes/8u/8u40/8057827-stats-notify/

Can you maintain this object as a global JNI handle (jobject) inside 
AllocationContextService instead of adding a new static oop in Universe?

The other static oops in Universe seem to be more system and bootstrap-related 
as opposed to the user-settable nature of the notification object.

/Mikael

> 
> -John




More information about the hotspot-gc-dev mailing list