On 10/21/06, Maksim Ananjev <[EMAIL PROTECTED]> wrote:

21.10.06, Mikhail Fursov<[EMAIL PROTECTED]> wrote:

> AFAIK the vm/vmcore/include/Class.h is vmcore internal header and was
never
> included in JIT.
> To use its functionality you should declare the method you need in
> vm/include/open/vm.h or in vm/include/open/*class*.h file

Thanks! The way you described works!


Do not forget to put your code into JIRA. VM gurus will review it and decide
if changes are reasonable to accept or will tell you what is wrong with the
patch.

But to contribute you have to 1) sign 2) scan 3) send by email to Apache
this form http://incubator.apache.org/harmony/auth_cont_quest.html


What exact functionality do you need?

I need to get field_desc of exact class having only the string name of
this field. So I described special function in Class.h and defined it
in Class.cpp. This method was a bit less painful on last version of
Harmony build , but on actual version it caused severe сompilation
errors.

Such functionality I need in order to develop package of
multidimensional arrays according to JSR-83 and  have it optimized in
JIT-compiler. The idea is to eliminate
redundant boundchecks in a sort of way already implemented ABCD
algorithm eliminates redundant boundchecks in one-dimensional arrays.
(I wrote about this idea here some time ago)


Good luck with your task. Math apps will benefit of it.


--
Mikhail Fursov

Reply via email to