You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2020/12/09 05:16:17 UTC

[Bug 64969] New: RemoteJMeterEngineImpl#rexit didn't unexport result int the RemoteJMeterEngineImpl instance couldn't release

https://bz.apache.org/bugzilla/show_bug.cgi?id=64969

            Bug ID: 64969
           Summary: RemoteJMeterEngineImpl#rexit didn't unexport result
                    int the RemoteJMeterEngineImpl instance couldn't
                    release
           Product: JMeter
           Version: 5.4
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: luo_isaiah@qq.com
  Target Milestone: JMETER 5.4.1

The RemoteJMeterEngineImpl#rexit() method is supposed to close the
RemoteJMeterEngineImpl instance. Although it has unbinded the
RemoteJMeterEngineImpl instance from RMI Registry now, it hasn't invoked
UnicastRemoteObject#unexportObject(Remote obj, boolean force) method to release
the RemoteJMeterEngineImpl instance which result in the RemoteJMeterEngineImpl
instance couldn't release and the RemoteJMeterEngineImpl instance's
RemoteJMeterEngineImpl#localPort couldn't close too.

To solve this problem, it is suggested to add
"UnicastRemoteObject#unexportObject(this, false)" after line 210 before
"JMeterUtils.helpGC()" in "RemoteJMeterEngineImpl.java" file.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64969] RemoteJMeterEngineImpl#rexit didn't unexport result int the RemoteJMeterEngineImpl instance couldn't release

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64969

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|5.4                         |3.0
         Resolution|---                         |FIXED
                 OS|                            |All
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
           Keywords|                            |FixedInTrunk
             Status|NEW                         |RESOLVED

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
pmouawad pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git


The following commit(s) were added to refs/heads/master by this push:
     new 5bb4fbe  Fix bug 64969, make RemoteJMeterEngineImpl instance release
completely when RemoteJMeterEngineImpl#rexit() invoked
5bb4fbe is described below

commit 5bb4fbe389204290c61afbd12bac66a8ca928755
Author: pmouawad <p....@ubik-ingenierie.com>
AuthorDate: Wed Dec 9 09:21:21 2020 +0100

    Fix bug 64969, make RemoteJMeterEngineImpl instance release completely when
RemoteJMeterEngineImpl#rexit() invoked
---
 .../java/org/apache/jmeter/engine/RemoteJMeterEngineImpl.java     | 8 ++++++++
 xdocs/changes.xml                                                 | 2 ++
 2 files changed, 10 insertions(+)

-- 
You are receiving this mail because:
You are the assignee for the bug.