Re: [DRLVM] adding write barriers to Jitrino.JET

2006-06-02 Thread Ivan Volosyuk
I didn't look at the MMTk source, but IMHO the special translation of bytecodes is not nessasary in first stage. If the functionality implemented as methods which are handled specially in jikes, in interpreter they can be implemented as native methods. Anyway, I do not insist on the use of

Re: [DRLVM] adding write barriers to Jitrino.JET

2006-06-02 Thread Weldon Washburn
On 6/2/06, Ivan Volosyuk [EMAIL PROTECTED] wrote: I didn't look at the MMTk source, but IMHO the special translation of bytecodes is not nessasary in first stage. If the functionality implemented as methods which are handled specially in jikes, in interpreter they can be implemented as native

Re: [DRLVM] adding write barriers to Jitrino.JET

2006-06-01 Thread Ivan Volosyuk
2006/6/1, Weldon Washburn [EMAIL PROTECTED]: On 5/31/06, Ivan Volosyuk [EMAIL PROTECTED] wrote: 2006/6/1, Rana Dasgupta [EMAIL PROTECTED]: It may be worth considering if we want JET to just call the barrier functionality( with from/to/and slot locations )and the barrier helper

Re: [DRLVM] adding write barriers to Jitrino.JET

2006-06-01 Thread Ivan Volosyuk
2006/6/1, Weldon Washburn [EMAIL PROTECTED]: On 6/1/06, Ivan Volosyuk [EMAIL PROTECTED] wrote: 2006/6/1, Weldon Washburn [EMAIL PROTECTED]: On 5/31/06, Ivan Volosyuk [EMAIL PROTECTED] wrote: 2006/6/1, Rana Dasgupta [EMAIL PROTECTED]: We have in DRLVM implementation the atomic exchange

Re: [DRLVM] adding write barriers to Jitrino.JET

2006-06-01 Thread Rana Dasgupta
Hi Weldon/Ivan, This has been a long thread/dialog. I am going to try and summarize where we stand at this stage ( for my own understanding ) and also to invite comments on implementation direction and suggestions from knowledgeable VM developers on the list. Please fill in if I miss or

Re: [DRLVM] adding write barriers to Jitrino.JET

2006-06-01 Thread Weldon Washburn
On 6/1/06, Rana Dasgupta [EMAIL PROTECTED] wrote: Hi Weldon/Ivan, This has been a long thread/dialog. I am going to try and summarize where we stand at this stage ( for my own understanding ) and also to invite comments on implementation direction and suggestions from knowledgeable VM

Re: [DRLVM] adding write barriers to Jitrino.JET

2006-05-31 Thread Mikhail Fursov
On 5/31/06, Weldon Washburn [EMAIL PROTECTED] wrote: DRLVM contains a simple JIT called Jitrino.JET in addition to a highly optimizing JIT. The simple JIT seems to be a better choice for starting the write barrier work. Looking at Jitrino.JET sources, it looks like the best place to add write

Re: [DRLVM] adding write barriers to Jitrino.JET

2006-05-31 Thread Ivan Volosyuk
2006/5/31, Mikhail Fursov [EMAIL PROTECTED]: No, this method is used to store operand stack item to local variable. If you're interested in writing to fields then Compiler::gen_field_op is the right place. We can generate a call to VM or GC helper in this method. To create a call to any VM

Re: [DRLVM] adding write barriers to Jitrino.JET

2006-05-31 Thread Rana Dasgupta
On 5/31/06, Ivan Volosyuk [EMAIL PROTECTED] wrote: 2006/5/31, Mikhail Fursov [EMAIL PROTECTED]: No, this method is used to store operand stack item to local variable. If you're interested in writing to fields then Compiler::gen_field_op is the right place. We can generate a call to VM or GC

Re: [DRLVM] adding write barriers to Jitrino.JET

2006-05-31 Thread Weldon Washburn
On 5/31/06, Rana Dasgupta [EMAIL PROTECTED] wrote: On 5/31/06, Ivan Volosyuk [EMAIL PROTECTED] wrote: 2006/5/31, Mikhail Fursov [EMAIL PROTECTED]: No, this method is used to store operand stack item to local variable. If you're interested in writing to fields then Compiler::gen_field_op

Re: [DRLVM] adding write barriers to Jitrino.JET

2006-05-31 Thread Ivan Volosyuk
2006/6/1, Rana Dasgupta [EMAIL PROTECTED]: How will it affect VM or GC ? The WBs will also require support from both VM and GC. Do you have ideas on VM/GC interface for this? Also what will be usage and testing scenarios in the nearest future? The VMGC interfaces is already exists in

Re: [DRLVM] adding write barriers to Jitrino.JET

2006-05-31 Thread Weldon Washburn
On 5/31/06, Ivan Volosyuk [EMAIL PROTECTED] wrote: 2006/6/1, Rana Dasgupta [EMAIL PROTECTED]: It may be worth considering if we want JET to just call the barrier functionality( with from/to/and slot locations )and the barrier helper actually do everything ... including generating the

[DRLVM] adding write barriers to Jitrino.JET

2006-05-30 Thread Weldon Washburn
All, I have been looking at DRLVM contained in JIRA Harmony-438. As far as I can tell, it does not have write barrier support. Write barrier support is pretty much required for high performance garbage collectors. In anticipation of using DRLVM with modern GCs like MMTK, I'd like to add write