Changes between Version 43 and Version 44 of DevelopersGuide


Ignore:
Timestamp:
2018-01-02T11:35:04+01:00 (2 weeks ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevelopersGuide

    v43 v44  
    2727* [http://www.youtube.com/watch?v=-LoWGf-hqiQ Video: how to checkout JOSM into Eclipse]
    2828* [http://www.youtube.com/watch?v=Z3OjG3nDvzA Video: how to checkout a JOSM plugin into Eclipse]
     29
     30=== VisualVM ===
     31VisualVM may be used to find memory leaks or generate heap dumps from a josm instance running concurrently. Heap dumps can be structurally examined. VisualVM organizes them e.g. by number and type of objects, memory used and cpu time consumed in an explorable tree view. Heap dump and garbage collection of the target instance is requestable using button clicks.
     32* [http://visualvm.github.io VisualVM]
     33
     34If an autonomous instance of josm should be debuggable from within eclipse at the same time, command line parameters must be supplied to open a transport socket that the debugger can connect to:
     35{{{
     36  #!bash
     37  # run JOSM with remote debug options; let VisualVM connect to 127.0.0.1 and port 9988; see the vm working
     38  java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:9988,server=y,suspend=n -Xmx1200m -jar josm-latest.jar
     39}}}
     40
     41This is not necessary if the internals of JOSM are to be explored by VisualVM exclusively (tested with the yet to be released, but available, version 1.4).
     42
    2943
    3044== JOSM core ==