You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/10/26 10:25:27 UTC

[jira] [Commented] (ARTEMIS-278) [Artemis Testsuite] SessionCloseOnGCTest#testCloseOneSessiononGC fails on slower machines

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

ASF GitHub Bot commented on ARTEMIS-278:
----------------------------------------

GitHub user dudaerich opened a pull request:

    https://github.com/apache/activemq-artemis/pull/217

    ARTEMIS-278 SessionCloseOnGCTest#testCloseOneSessiononGC fails on slower machines

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dudaerich/activemq-artemis ARTEMIS-278

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/217.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #217
    
----
commit a49793679841e74f12f72505d2e5da0c27bfc0b5
Author: Erich Duda <ed...@redhat.com>
Date:   2015-10-16T10:15:34Z

    SessionCloseOnGCTest#testCloseOneSessionOnGC: enforce that Finalizer will be called after garbage collector

----


> [Artemis Testsuite] SessionCloseOnGCTest#testCloseOneSessiononGC fails on slower machines
> -----------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-278
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-278
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Erich Duda
>
> Session is not closed immediately after release of the object. When the object is released by garbage collector, it is moved into the finalization queue. We must ensure that the finalizer is triggered before we will check whether the session is closed or not.



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