Re: Implementing a Smalltalk debugger with JSR292

2011-11-27 Thread Mark Roos
11/27/2011 01:07:50 AM: > From: Helmut Eller > To: mlvm-dev@openjdk.java.net > Date: 11/27/2011 01:24 AM > Subject: Re: Implementing a Smalltalk debugger with JSR292 > Sent by: mlvm-dev-boun...@openjdk.java.net > > * Mark Roos [2011-11-27 06:16] writes: > > > The a

Re: Implementing a Smalltalk debugger with JSR292

2011-11-27 Thread Mark Roos
Hi Rémi Thanks for the comments. I like the idea of using switchPoints and have been thinking about them both for this and for the general purpose of method invalidation. Right now I keep a list of all callsites and when necessary I dump them all. I thought of replacing this with a switchpoi

Re: Implementing a Smalltalk debugger with JSR292

2011-11-27 Thread Rémi Forax
On 11/27/2011 07:16 AM, Mark Roos wrote: One of the key parts of Smalltalk is the 'live' debugger. Unlike the general dynamic language features which are well supported by the additions from JSR292 the debugger requires support which may not have been considered as necessary to support dynamic

Re: Implementing a Smalltalk debugger with JSR292

2011-11-27 Thread Helmut Eller
* Mark Roos [2011-11-27 06:16] writes: > The approach we took has two facets, we ( mainly oscar ) coded a C++ > jvmti agent with a JNI interface which allowed us to call some JVMTI > apis from within the jvm being debugged and we added some logic to the > callsite to handle the stepping. What's t

Implementing a Smalltalk debugger with JSR292

2011-11-26 Thread Mark Roos
One of the key parts of Smalltalk is the 'live' debugger. Unlike the general dynamic language features which are well supported by the additions from JSR292 the debugger requires support which may not have been considered as necessary to support dynamic languages. So we were not sure we would