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 helper (which may throw Exception or force GC) you should use Compiler::gen_call_vm() method.
FYI: Write barrier GC implementation doesn't throw exceptions or starts garbage collection. The whole idea of write barriers is to make them as lightweight as possible.
It seems not to be a problem to implement WB support in Jitrino.JET, let's discuss requirements and design. 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 VM<>GC interfaces is already exists in DRLVM. The only interface is missing: JIT->VM helper. -- Ivan --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]