Community
Participate
Working Groups
Acquire heap dumps is not working with the latest versions of IBM JDK 1.8 - no processes are listed. See https://www.ibm.com/support/knowledgecenter/en/SSYKE2_8.0.0/com.ibm.java.win.80.doc/user/attachapi.html where there is this comment: From Service Refresh 5, the exceptions change as follows: com.sun.tools.attach.AgentLoadException com.sun.tools.attach.AgentInitializationException com.sun.tools.attach.AgentNotSupportedException com.sun.tools.attach.AttachOperationFailedException java.io.IOException Examining the VM with Javap it appears that it is not just the exceptions that have changed; the classes have changed too: javap.exe com.sun.tools.attach.VirtualMachine Currently the MAT classes calling the IBM classes are isolated in src2/org/eclipse/mat/ibmdumps and are compiled with an appropriate IBM VM - then the classes are copies to classes/org/eclipse/mat/ibmdumps This won't be convenient for changing the classes from com.sun to com.sun
The best solution is probably to call all the com.ibm and com.sun classes via reflection so that the MAT classes can be recompiled on any JVM.
New Gerrit change created: https://git.eclipse.org/r/121534
Gerrit change https://git.eclipse.org/r/121534 was merged to [master]. Commit: http://git.eclipse.org/c/mat/org.eclipse.mat.git/commit/?id=626bdcc8593396177525e29624e354a7751e460f
There was another problem - if with 'IBM dump (using helper VM)' the -vmoptions was changed from '-version:1.6+' to '-version:1.6' then it failed to list the VMS, as expected as no version=1.6 JVM was found. If the vmoptions were changed back to '-version:1.6+' then it still didn't work as the options used were still '-version:1.6'. This was because the changed options were the default values and were removed from the argument set, but the missing default arguments were not then set in the configuration object.
New Gerrit change created: https://git.eclipse.org/r/121598
Gerrit change https://git.eclipse.org/r/121598 was merged to [master]. Commit: http://git.eclipse.org/c/mat/org.eclipse.mat.git/commit/?id=6d830c529e4d1a086fb07603bbeea2bf6e7024b5
New Gerrit change created: https://git.eclipse.org/r/121717
Gerrit change https://git.eclipse.org/r/121717 was merged to [master]. Commit: http://git.eclipse.org/c/mat/org.eclipse.mat.git/commit/?id=87ff9adff6494fdc44881ee83ff0c197abed969a
New Gerrit change created: https://git.eclipse.org/r/121758
Gerrit change https://git.eclipse.org/r/121758 was merged to [master]. Commit: http://git.eclipse.org/c/mat/org.eclipse.mat.git/commit/?id=c2775a51b0b7447de1ab0dbaf55718f36f7cf422
New Gerrit change created: https://git.eclipse.org/r/121763
Gerrit change https://git.eclipse.org/r/121763 was merged to [master]. Commit: http://git.eclipse.org/c/mat/org.eclipse.mat.git/commit/?id=4ae1bfc0abf04aac8804fc7a8633fe59b371009f
New Gerrit change created: https://git.eclipse.org/r/121861
Gerrit change https://git.eclipse.org/r/121861 was merged to [master]. Commit: http://git.eclipse.org/c/mat/org.eclipse.mat.git/commit/?id=d9810632177e7661a9cb5aafc5521bb878bbf58e
New Gerrit change created: https://git.eclipse.org/r/121889
Gerrit change https://git.eclipse.org/r/121889 was merged to [master]. Commit: http://git.eclipse.org/c/mat/org.eclipse.mat.git/commit/?id=ecc40f19b67bd974c93788818eefe65a90476c5e
New Gerrit change created: https://git.eclipse.org/r/121911
Gerrit change https://git.eclipse.org/r/121911 was merged to [master]. Commit: http://git.eclipse.org/c/mat/org.eclipse.mat.git/commit/?id=8d6a4c9a3a7b5df00ce191f0df4fff89876ad0c1
New Gerrit change created: https://git.eclipse.org/r/121924
Gerrit change https://git.eclipse.org/r/121924 was merged to [master]. Commit: http://git.eclipse.org/c/mat/org.eclipse.mat.git/commit/?id=0559c6a8e5cbedc8ddf40470447aa2b197af39d1
New Gerrit change created: https://git.eclipse.org/r/122143
Gerrit change https://git.eclipse.org/r/122143 was merged to [master]. Commit: http://git.eclipse.org/c/mat/org.eclipse.mat.git/commit/?id=1e4700a8c84c22672b53a6a56630bf8ce8b9b48e
New Gerrit change created: https://git.eclipse.org/r/122214
New Gerrit change created: https://git.eclipse.org/r/122215
Gerrit change https://git.eclipse.org/r/122215 was merged to [master]. Commit: http://git.eclipse.org/c/mat/org.eclipse.mat.git/commit/?id=cf34182f9ebd7fa276817ae750bab22ae6263090
New Gerrit change created: https://git.eclipse.org/r/122216
Gerrit change https://git.eclipse.org/r/122216 was merged to [master]. Commit: http://git.eclipse.org/c/mat/org.eclipse.mat.git/commit/?id=a4756b3dafcdae722114e3797b1cb9abb1748a5a
New Gerrit change created: https://git.eclipse.org/r/122218
Gerrit change https://git.eclipse.org/r/122218 was merged to [master]. Commit: http://git.eclipse.org/c/mat/org.eclipse.mat.git/commit/?id=f2b1a62a9067d7c868867478530c495417c837a6
Updates include - IBM dump provider now works with com.sun.tools.attach API too - so renamed Attach API provider - wrapped handling of com.ibm / com.sun objects HPROF dump option added to Attach API provider HPROF dumps generated using HotSpot MX bean - dump option to remove live objects on taking the dump UI updates to resize tables better UI jumps to correct configuration table for a provider More documentation.
New Gerrit change created: https://git.eclipse.org/r/122226
Gerrit change https://git.eclipse.org/r/122226 was merged to [master]. Commit: http://git.eclipse.org/c/mat/org.eclipse.mat.git/commit/?id=4c6e4c3535230e99c0b532889277b247766cf84b
New Gerrit change created: https://git.eclipse.org/r/122439
Gerrit change https://git.eclipse.org/r/122439 was merged to [master]. Commit: http://git.eclipse.org/c/mat/org.eclipse.mat.git/commit/?id=80802b36baf802feac3a46187744785510b03f74
Also - unavailable dumps are greyed out. The original feature was https://bugs.eclipse.org/bugs/show_bug.cgi?id=229449 Add some more changes to disable dumping from a process if an attempt threw AttachNotSupportedException
This is now generally working.