Issue Details (XML | Word | Printable)

Key: RVM-33
Type: New Feature New Feature
Status: In Progress In Progress
Priority: Minor Minor
Assignee: Byeong Lee
Reporter: Eslam AlMorshdy
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
RVM

JDWP & JVMTI support

Created: 12/Jun/07 04:22 AM   Updated: 28/Jul/08 03:12 PM
Return to search
Component/s: Runtime
Affects Version/s: None
Fix Version/s: 1000

Time Tracking:
Original Estimate: 11 weeks
Original Estimate - 11 weeks
Remaining Estimate: 11 weeks
Remaining Estimate - 11 weeks
Time Spent: Not Specified
Time Spent - Not Specified

File Attachments: 1. File RVM-33-collective-patch-against-gcp95 (292 kB)

Issue Links:
Related
 


 Description  « Hide

Adding JDWP & JVMTI support
JDWP & JVMTI are standards introduced by sun to uniform the way JVM[s] are debugged/queried. They are not mandatory nor do they form requirements to comply with the JVM standard
Java Debug Wire Protocol is an interface specification to debug/query the JVM status. It defines the format of information and requests transferred between the process being debugged and the debugger front end. JVMTI s a low-level native interface ( based on JNI) that defines the services a Java virtual machine provides for tools such as debuggers and profilers(which they are implemented as agents).



Peter Donald made changes - 18/Jun/07 04:12 AM
Field Original Value New Value
Component/s Runtime [ 12834 ]
Peter Donald made changes - 11/Jul/07 06:33 PM
Assignee Eslam AlMorshdy [ emorshdy ]
Eslam AlMorshdy made changes - 11/Jul/07 06:47 PM
Status Open [ 1 ] In Progress [ 3 ]
Eslam AlMorshdy made changes - 11/Jul/07 06:51 PM
Remaining Estimate 3 minutes [ 180 ] 11 weeks [ 6652800 ]
Original Estimate 3 minutes [ 180 ] 11 weeks [ 6652800 ]
Eslam AlMorshdy added a comment - 01/Aug/07 12:25 PM

Collective patch for classpath-0.95 of the ongoing RVM-33
included
classpath-cvs.classpath30275
classpath-cvs.RVM-26
classpath-cvs.RVM-77


Eslam AlMorshdy made changes - 01/Aug/07 12:25 PM
Eslam AlMorshdy added a comment - 30/Aug/07 02:25 AM

helpful commands

-Running the rvm in server mode waiting for a consuming IDE
./rvm -Xms256m -Xmx1024m -X:processors=1 -X:runjdwp:transport=dt_socket,address=localhost:1234,server=y,suspend=n -X:use:rvm:socketimpl=y

Spying on the protocol
=================
In the eclipse 3.3RC4 installation run the following (older versions fail throwing exception)
java -cp plugins/org.eclipse.jdt.debug_3.3.0.v20070530a/jdimodel.jar:plugins/org.eclipse.osgi_3.3.0.v20070530.jar:plugins/com.ibm.icu_3.6.1.v20070417.jar org/eclipse/jdi/internal/spy/TcpipSpy 6900 localhost 1234

Testing with RvmSocket Implementation
===============================
add the following

  • X:use:rvm:socketimpl=y

IDE
===
You can attach a running rvm instance using eclipse->run->debg-
you may want to increase debugger time out in eclipse->preferences->java->OpenDebugDialog->Remotejava application

Running the debugger thread
=======================
kill -sigquit `ps aux | grep JikesRVM | tr -s [:blank:] | cut -d' ' -f 2 | tr "\n" ' '|cut -d ' ' -f1`


David Grove made changes - 27/Mar/08 12:13 PM
Assignee Eslam AlMorshdy [ emorshdy ]
Ian Rogers made changes - 03/Apr/08 04:45 AM
Link This issue relates to RVM-240 [ RVM-240 ]
David Grove made changes - 11/Apr/08 09:24 AM
Fix Version/s 1000 [ 14184 ]
Ian Rogers made changes - 28/Jul/08 03:12 PM
Assignee Byeogncheol (BK) Lee [ bclee ]