コード例 #1
0
        public jvmtiError SetTag(JvmVirtualMachineRemoteHandle virtualMachine, JvmObjectRemoteHandle @object, long tag)
        {
            JavaVM machine = JavaVM.GetInstance(virtualMachine);

            jvmtiError result = jvmtiError.Internal;

            machine.InvokeOnJvmThread(
                (environment) =>
            {
                jvmtiInterface rawInterface = environment.RawInterface;
                result = rawInterface.SetTag(environment.Handle, @object, tag);
            });

            return(result);
        }
コード例 #2
0
        public jvmtiError GetObjectHashCode(JvmVirtualMachineRemoteHandle virtualMachine, JvmObjectRemoteHandle @object, out int hashCode)
        {
            JavaVM machine = JavaVM.GetInstance(virtualMachine);

            int        hashCodeResult = 0;
            jvmtiError result         = jvmtiError.Internal;

            machine.InvokeOnJvmThread(
                (environment) =>
            {
                jvmtiInterface rawInterface = environment.RawInterface;
                result = rawInterface.GetObjectHashCode(environment.Handle, @object, out hashCodeResult);
            });

            hashCode = hashCodeResult;
            return(result);
        }
コード例 #3
0
 public jvmtiError GetClassLoader(JvmVirtualMachineRemoteHandle virtualMachine, JvmClassRemoteHandle @class, out JvmObjectRemoteHandle classLoader)
 {
     throw new NotImplementedException();
 }
コード例 #4
0
 public jvmtiError GetClassLoaderClasses(JvmVirtualMachineRemoteHandle virtualMachine, JvmObjectRemoteHandle initiatingLoader, out JvmClassRemoteHandle[] classes)
 {
     throw new NotImplementedException();
 }
コード例 #5
0
 public jvmtiError SetLocalObject(JvmVirtualMachineRemoteHandle virtualMachine, JvmThreadRemoteHandle thread, int depth, int slot, JvmObjectRemoteHandle value)
 {
     throw new NotImplementedException();
 }
コード例 #6
0
 public jvmtiError GetLocalInstance(JvmVirtualMachineRemoteHandle virtualMachine, JvmThreadRemoteHandle thread, int depth, out JvmObjectRemoteHandle value)
 {
     throw new NotImplementedException();
 }
コード例 #7
0
 public jvmtiError ForceEarlyReturnObject(JvmVirtualMachineRemoteHandle virtualMachine, JvmThreadRemoteHandle thread, JvmObjectRemoteHandle value)
 {
     throw new NotImplementedException();
 }
コード例 #8
0
 public jvmtiError GetCurrentContendedMonitor(JvmVirtualMachineRemoteHandle virtualMachine, JvmThreadRemoteHandle thread, out JvmObjectRemoteHandle monitor)
 {
     throw new NotImplementedException();
 }
コード例 #9
0
 public jvmtiError StopThread(JvmVirtualMachineRemoteHandle virtualMachine, JvmThreadRemoteHandle thread, JvmObjectRemoteHandle exception)
 {
     throw new NotImplementedException();
 }