[ 
https://issues.apache.org/jira/browse/FLINK-6402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Yu updated FLINK-6402:
--------------------------
    Description: 
Here is related code:
{code}
    PhantomDelegatingCloseableRef phantomRef = new 
PhantomDelegatingCloseableRef(
        wrappingProxyCloseable,
        this,
        REAPER_THREAD.referenceQueue);
{code}
Instantiation of REAPER_THREAD can be made visible by ctor.

  was:
Here is related code:
{code}
    PhantomDelegatingCloseableRef phantomRef = new 
PhantomDelegatingCloseableRef(
        wrappingProxyCloseable,
        this,
        REAPER_THREAD.referenceQueue);
{code}


> Consider removing REAPER_THREAD_LOCK in 
> SafetyNetCloseableRegistry#doRegister()
> -------------------------------------------------------------------------------
>
>                 Key: FLINK-6402
>                 URL: https://issues.apache.org/jira/browse/FLINK-6402
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Minor
>
> Here is related code:
> {code}
>     PhantomDelegatingCloseableRef phantomRef = new 
> PhantomDelegatingCloseableRef(
>         wrappingProxyCloseable,
>         this,
>         REAPER_THREAD.referenceQueue);
> {code}
> Instantiation of REAPER_THREAD can be made visible by ctor.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to