You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/05/31 06:47:17 UTC

[jira] [Commented] (SPARK-7976) Detect if finalize is used

    [ https://issues.apache.org/jira/browse/SPARK-7976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14566348#comment-14566348 ] 

Apache Spark commented on SPARK-7976:
-------------------------------------

User 'rxin' has created a pull request for this issue:
https://github.com/apache/spark/pull/6528

> Detect if finalize is used
> --------------------------
>
>                 Key: SPARK-7976
>                 URL: https://issues.apache.org/jira/browse/SPARK-7976
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Project Infra
>            Reporter: Reynold Xin
>            Assignee: Reynold Xin
>
> finalize() is called when the object is garbage collected, and garbage collection is not guaranteed to happen. It is therefore unwise to rely on code in finalize() method.
> See http://www.scalastyle.org/rules-0.7.0.html#org_scalastyle_scalariform_NoFinalizeChecker



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org