How "evil" is GetPrimitiveArrayCritical?
    Florian Weimer 
    fw at deneb.enyo.de
       
    Sun Dec 30 13:38:58 PST 2007
    
    
  
* Clemens Eisserer:
> How problematic is the use of GetPrimitiveArrayCritical, and what
> should be seen as a worst-case time for blocking? Does
> GetPrimitiveArrayCritical has any negative effects except delaying
> garbage collection for some time? Are there problems when many threads
> do a lot of GetPrimitiveArrayCritical/ReleasePrimitiveArrayCritical,
> even if they are short.
> Can it disturb the CMS GC?
It used to be pretty evil:
<http://blogs.oracle.com/charleslamb/2006/09/22#a12>
<http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6186200>
But this bug has supposedly been fixed.  How is not clear from the
public part.
    
    
More information about the hotspot-runtime-dev
mailing list