[crac] RFR: Synchronize concurrent clean() in PhantomCleanableRef
    Anton Kozlov 
    akozlov at openjdk.org
       
    Fri May 12 14:34:15 UTC 2023
    
    
  
On Fri, 12 May 2023 13:50:34 GMT, Radim Vansa <duke at openjdk.org> wrote:
> Fixes failures in RefQueueTest and JarFileFactoryCacheTest.
Another option is to synchronize with the thread performing cleanup, e.g. blocking that, and run cleaning for all uncleaned refs, which are in the ad-hoc double linked list.
Do these options has pros/cons compared to each other?
-------------
PR Comment: https://git.openjdk.org/crac/pull/70#issuecomment-1545838863
    
    
More information about the crac-dev
mailing list