Community
Participate
Working Groups
Introduce an extension mechanism whereby implementers can plug agents written using the java.lang.instrumentation interface to accept and respond to messages from a TPTP workbench. This allows a simple way for custom "agentlets" to extend the TPTP JVMTI profiler.
Created attachment 185240 [details] Patch Attached patch that implements this.
Requesting project lead approval for checkin.
Mike indicated that Jonathan had reviewed this yesterday already. As this extension point is only called when existing logic is exhausted in handling the message, it should have no impact to existing JVMTI profiler code. Approving for TPTP 4.7.2. Mike, please check it in.
Patch checked into HEAD, resolving.
Created attachment 185252 [details] Build fix Attaching a secondary patch that updates the ACCollector Makefile with a small build fix; when building against Sun JVM's, it is not sufficient add $(JAVA_HOME)/include to the include path, a platform specific subdirectory needs to be added as well, e.g.: $(JAVA_HOME)/include/linux Build patch has been checked into HEAD.
Re-opening. Unfortunately I overlooked handling the case where an unknown message is received and there is no agentlet advertising itself as a handler. Currently in that case the profiler will crash.
Created attachment 185276 [details] Critical fix to original patch I have attached an incremental patch which correctly handles this case.
Fix checked into HEAD.
Created attachment 185734 [details] Patch to windows ACCollector makefiles There is a build problem due to not having updated the ACCollector .mak files for Windows. Attached patch with the necessary changes.
Fix checked into head.
Created attachment 185887 [details] Patch for sending response
Patch looks good
Patch for the response checked into HEAD.
This defect had been resolved as FIXED for more than 1 month. Please verify with the latest TPTP 4.7.2 driver. If this defect is still left unverified by February 25, we'll close it on the originator's behalf. TPTP 4.7.2 driver can be downloaded from: http://www.eclipse.org/tptp/home/downloads/?ver=4.7.2
Closing.