Re: Hotswap patch?

2009-09-22 Thread Thomas Wuerthinger
Patrick Wright wrote:
  Thomas--is any special flag required to enable this when launching the
  JVM if I build MLVM with your changeset in it? Also, I assume that if
  classes are redefined we will eventually run into the standard
  problems of PermGen limits on loaded classes?

No, there is no special flag required to enable my hotswap code. When 
you apply the changeset to jdk7-b51, you swap the current hotswapping 
implementation with my version.

Yes, with frequent use of hotswapping the problem of a limited PermGen 
arises. Especially as currently the old classes are still kept in the 
system. A fix for this might be to remove old classes from the system if 
none of their methods are active or reachable from active methods (and 
this is true for all of their subclasses).

- thomas
___
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev


Re: Hotswap patch?

2009-09-16 Thread Thomas Wuerthinger

 The design of the hotswap patch is described in the PDF linked from 
 this page:
   http://wikis.sun.com/display/mlvm/HotSwap

 I believe (under correction from you, Thomas!) that the patch is the 
 initial result of a research project that he did earlier this year at 
 JKU Linz, that he is now working on other things, and that he doesn't 
 have specific plans (yet) to extend it further.  See the message below.

 Thomas will be talking about this work at Sun on Wednesday, and InfoQ 
 will be taping the talk (like most of the talks at the Summit).
Yes - during the talk I will also outline future directions that I am 
currently considering and I would be happy about any kind of feedback!

- thomas
___
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev


Re: Hotswap patch?

2009-09-16 Thread Patrick Wright
Thanks for the links to the Wiki and PDF. It looks like a lot of what
we've been asking for.

Thomas--is any special flag required to enable this when launching the
JVM if I build MLVM with your changeset in it? Also, I assume that if
classes are redefined we will eventually run into the standard
problems of PermGen limits on loaded classes?


Thanks
Patrick
___
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev



Hotswap patch?

2009-09-13 Thread Patrick Wright
Hi John

I just saw that you pushed a changeset from Thomas Wuerthinger related
to expanding hotswap--from the unit tests included, it looks pretty
nice--add/remove fields and methods etc. Anything you can tell us
about it, status etc? I didn't know anyone was working on this in the
Da Vinci Machine.


Thanks!
Patrick
___
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev