Thanks for your help Eugene.
Take a glance at the new updates of JDWP 6, we may need these
functions in JVMTI. What i have to point out is that this list is not
an very accurate one:
jvmtiError
GetClassVersionNumbers(jvmtiEnv* env,
jclass klass,
jint* minor_version_ptr,
jint* major_version_ptr).
jvmtiError
GetConstantPool(jvmtiEnv* env,
jclass klass,
jint* constant_pool_count_ptr,
jint* constant_pool_byte_count_ptr,
unsigned char** constant_pool_bytes_ptr)
jvmtiError
GetOwnedMonitorStackDepthInfo(jvmtiEnv* env,
jthread thread,
jint* monitor_info_count_ptr,
jvmtiMonitorStackDepthInfo** monitor_info_ptr)
jvmtiError
ForceEarlyReturnObject(jvmtiEnv* env,
jthread thread,
jobject value)
(
# Force Early Return - jint
# Force Early Return - Long
# Force Early Return - Float
# Force Early Return - Double
# Force Early Return - Void
)
And these new JDWP capabilities may need related jvmti capabilites' support.
canGetInstanceInfo
canRequestMonitorEvents
canGetMonitorFrameInfo
canUseSourceNameFilters
canGetConstantPool
canForceEarlyReturn
By the way, i have tried to add GetClassVersionNumbers to our jvmti.h,
and it build and run successfully with IBM VM.
2008/2/26, Eugene Ostrovsky <[EMAIL PROTECTED]>:
> Hi,
>
> Java 6 JVMTI features are not implemented in drlvm.
>
> Could you please provide a list of JVMTI 6 functions that are critical
> for JDWP 6?
>
> Thanks, Eugene.
>
> On Tue, Feb 26, 2008 at 10:24 AM, Sean Qiu <[EMAIL PROTECTED]> wrote:
> > For example, The new ClassFileVersion Command (17) in JDWP need to
> > invoke the new Java 6 jvmti function:
> > jvmtiError GetClassVersionNumbers(jvmtiEnv* env,
> > jclass klass,
> > jint* minor_version_ptr,
> > jint* major_version_ptr).
> >
> > We cannot find it in the current Java 5 jvmti.h.
> > And the other new added commands have the same problem.
> >
> >
> > 2008/2/26, Sean Qiu <[EMAIL PROTECTED]>:
> > >
> >
> >
> > > Hi, drlvm gurus
> > >
> > > Do we have implemented the JVMTI updates for Java 6?
> > > Since the JDWP updates depends on the JVMTI new functions.
> > >
> > > Thanks very much.
> > >
> > > --
> > > Sean, Xiao Xia Qiu
> > > China Software Development Lab, IBM
> >
> >
> >
> > --
> > Sean, Xiao Xia Qiu
> > China Software Development Lab, IBM
> >
>
--
Sean, Xiao Xia Qiu
China Software Development Lab, IBM