Package | Description |
---|---|
net.bytebuddy.agent |
The Byte Buddy agent allows the redefinition of classes at runtime.
|
Modifier and Type | Field and Description |
---|---|
com.sun.jna.Pointer |
VirtualMachine.ForHotSpot.Connection.ForJnaSolarisDoor.SolarisLibrary.DoorArgument.dataPointer
A pointer to the operation argument.
|
com.sun.jna.Pointer |
VirtualMachine.ForHotSpot.Connection.ForJnaSolarisDoor.SolarisLibrary.DoorArgument.descriptorPointer
A pointer to the operation descriptor.
|
com.sun.jna.platform.win32.WinDef.DWORD |
VirtualMachine.ForOpenJ9.Dispatcher.ForJnaWindowsEnvironment.WindowsLibrary.SecurityAttributes.length
The descriptor's length.
|
com.sun.jna.Pointer |
VirtualMachine.ForOpenJ9.Dispatcher.ForJnaWindowsEnvironment.WindowsLibrary.SecurityAttributes.securityDescriptor
A pointer to the descriptor.
|
Modifier and Type | Method and Description |
---|---|
com.sun.jna.platform.win32.WinDef.LPVOID |
VirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.WindowsAttachLibrary.allocate_remote_argument(com.sun.jna.platform.win32.WinNT.HANDLE process,
String pipe,
String argument0,
String argument1,
String argument2,
String argument3)
Allocates the remote argument to supply to the remote code upon execution.
|
com.sun.jna.platform.win32.WinDef.LPVOID |
VirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.WindowsAttachLibrary.allocate_remote_code(com.sun.jna.platform.win32.WinNT.HANDLE process)
Allocates the code to invoke on the remote VM.
|
com.sun.jna.platform.win32.WinNT.HANDLE |
VirtualMachine.ForOpenJ9.Dispatcher.ForJnaWindowsEnvironment.WindowsLibrary.CreateMutex(VirtualMachine.ForOpenJ9.Dispatcher.ForJnaWindowsEnvironment.WindowsLibrary.SecurityAttributes attributes,
boolean owner,
String name)
Create or opens a mutex.
|
com.sun.jna.platform.win32.WinNT.HANDLE |
VirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.WindowsLibrary.CreateRemoteThread(com.sun.jna.platform.win32.WinNT.HANDLE process,
com.sun.jna.platform.win32.WinBase.SECURITY_ATTRIBUTES securityAttributes,
int stackSize,
com.sun.jna.Pointer code,
com.sun.jna.Pointer argument,
com.sun.jna.platform.win32.WinDef.DWORD creationFlags,
com.sun.jna.Pointer threadId)
An alternative implementation of
Kernel32.CreateRemoteThread(WinNT.HANDLE, WinBase.SECURITY_ATTRIBUTES, int, WinBase.FOREIGN_THREAD_START_ROUTINE, Pointer, WinDef.DWORD, Pointer)
that uses a pointer as the code argument rather then a structure to avoid accessing foreign memory. |
com.sun.jna.platform.win32.WinNT.HANDLE |
VirtualMachine.ForOpenJ9.Dispatcher.ForJnaWindowsEnvironment.WindowsLibrary.CreateSemaphoreW(com.sun.jna.platform.win32.WinBase.SECURITY_ATTRIBUTES securityAttributes,
long count,
long maximumCount,
String name)
Creates a new semaphore.
|
com.sun.jna.platform.win32.WinNT.HANDLE |
VirtualMachine.ForOpenJ9.Dispatcher.ForJnaWindowsEnvironment.WindowsLibrary.OpenSemaphoreW(int access,
boolean inheritHandle,
String name)
Opens an existing semaphore.
|
Modifier and Type | Method and Description |
---|---|
com.sun.jna.platform.win32.WinDef.LPVOID |
VirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.WindowsAttachLibrary.allocate_remote_argument(com.sun.jna.platform.win32.WinNT.HANDLE process,
String pipe,
String argument0,
String argument1,
String argument2,
String argument3)
Allocates the remote argument to supply to the remote code upon execution.
|
com.sun.jna.platform.win32.WinDef.LPVOID |
VirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.WindowsAttachLibrary.allocate_remote_argument(com.sun.jna.platform.win32.WinNT.HANDLE process,
String pipe,
String argument0,
String argument1,
String argument2,
String argument3)
Allocates the remote argument to supply to the remote code upon execution.
|
com.sun.jna.platform.win32.WinDef.LPVOID |
VirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.WindowsAttachLibrary.allocate_remote_argument(com.sun.jna.platform.win32.WinNT.HANDLE process,
String pipe,
String argument0,
String argument1,
String argument2,
String argument3)
Allocates the remote argument to supply to the remote code upon execution.
|
com.sun.jna.platform.win32.WinDef.LPVOID |
VirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.WindowsAttachLibrary.allocate_remote_argument(com.sun.jna.platform.win32.WinNT.HANDLE process,
String pipe,
String argument0,
String argument1,
String argument2,
String argument3)
Allocates the remote argument to supply to the remote code upon execution.
|
static void |
ByteBuddyAgent.attach(File agentJar,
ByteBuddyAgent.ProcessProvider processProvider,
String argument)
Attaches the given agent Jar on the target process which must be a virtual machine process.
|
static void |
ByteBuddyAgent.attach(File agentJar,
ByteBuddyAgent.ProcessProvider processProvider,
String argument,
ByteBuddyAgent.AttachmentProvider attachmentProvider)
Attaches the given agent Jar on the target process which must be a virtual machine process.
|
static void |
ByteBuddyAgent.attach(File agentJar,
String processId,
String argument)
Attaches the given agent Jar on the target process which must be a virtual machine process.
|
static void |
ByteBuddyAgent.attach(File agentJar,
String processId,
String argument,
ByteBuddyAgent.AttachmentProvider attachmentProvider)
Attaches the given agent Jar on the target process which must be a virtual machine process.
|
static void |
ByteBuddyAgent.attachNative(File agentLibrary,
ByteBuddyAgent.ProcessProvider processProvider,
String argument)
Attaches the given agent library on the target process which must be a virtual machine process.
|
static void |
ByteBuddyAgent.attachNative(File agentLibrary,
ByteBuddyAgent.ProcessProvider processProvider,
String argument,
ByteBuddyAgent.AttachmentProvider attachmentProvider)
Attaches the given agent library on the target process which must be a virtual machine process.
|
static void |
ByteBuddyAgent.attachNative(File agentLibrary,
String processId,
String argument)
Attaches the given agent library on the target process which must be a virtual machine process.
|
static void |
ByteBuddyAgent.attachNative(File agentLibrary,
String processId,
String argument,
ByteBuddyAgent.AttachmentProvider attachmentProvider)
Attaches the given agent library on the target process which must be a virtual machine process.
|
com.sun.jna.platform.win32.WinNT.HANDLE |
VirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.WindowsLibrary.CreateRemoteThread(com.sun.jna.platform.win32.WinNT.HANDLE process,
com.sun.jna.platform.win32.WinBase.SECURITY_ATTRIBUTES securityAttributes,
int stackSize,
com.sun.jna.Pointer code,
com.sun.jna.Pointer argument,
com.sun.jna.platform.win32.WinDef.DWORD creationFlags,
com.sun.jna.Pointer threadId)
An alternative implementation of
Kernel32.CreateRemoteThread(WinNT.HANDLE, WinBase.SECURITY_ATTRIBUTES, int, WinBase.FOREIGN_THREAD_START_ROUTINE, Pointer, WinDef.DWORD, Pointer)
that uses a pointer as the code argument rather then a structure to avoid accessing foreign memory. |
com.sun.jna.platform.win32.WinNT.HANDLE |
VirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.WindowsLibrary.CreateRemoteThread(com.sun.jna.platform.win32.WinNT.HANDLE process,
com.sun.jna.platform.win32.WinBase.SECURITY_ATTRIBUTES securityAttributes,
int stackSize,
com.sun.jna.Pointer code,
com.sun.jna.Pointer argument,
com.sun.jna.platform.win32.WinDef.DWORD creationFlags,
com.sun.jna.Pointer threadId)
An alternative implementation of
Kernel32.CreateRemoteThread(WinNT.HANDLE, WinBase.SECURITY_ATTRIBUTES, int, WinBase.FOREIGN_THREAD_START_ROUTINE, Pointer, WinDef.DWORD, Pointer)
that uses a pointer as the code argument rather then a structure to avoid accessing foreign memory. |
com.sun.jna.platform.win32.WinNT.HANDLE |
VirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.WindowsLibrary.CreateRemoteThread(com.sun.jna.platform.win32.WinNT.HANDLE process,
com.sun.jna.platform.win32.WinBase.SECURITY_ATTRIBUTES securityAttributes,
int stackSize,
com.sun.jna.Pointer code,
com.sun.jna.Pointer argument,
com.sun.jna.platform.win32.WinDef.DWORD creationFlags,
com.sun.jna.Pointer threadId)
An alternative implementation of
Kernel32.CreateRemoteThread(WinNT.HANDLE, WinBase.SECURITY_ATTRIBUTES, int, WinBase.FOREIGN_THREAD_START_ROUTINE, Pointer, WinDef.DWORD, Pointer)
that uses a pointer as the code argument rather then a structure to avoid accessing foreign memory. |
com.sun.jna.platform.win32.WinNT.HANDLE |
VirtualMachine.ForOpenJ9.Dispatcher.ForJnaWindowsEnvironment.WindowsLibrary.CreateSemaphoreW(com.sun.jna.platform.win32.WinBase.SECURITY_ATTRIBUTES securityAttributes,
long count,
long maximumCount,
String name)
Creates a new semaphore.
|
protected static void |
Attacher.install(Class<?> virtualMachineType,
String processId,
String agent,
boolean isNative,
String argument)
Installs a Java agent on a target VM.
|
protected void |
VirtualMachine.ForHotSpot.load(String file,
boolean absolute,
String argument)
Loads an agent by the given command.
|
void |
VirtualMachine.loadAgent(String jarFile,
String argument)
Loads an agent into the represented virtual machine.
|
void |
VirtualMachine.ForHotSpot.loadAgent(String jarFile,
String argument)
Loads an agent into the represented virtual machine.
|
void |
VirtualMachine.ForOpenJ9.loadAgent(String jarFile,
String argument)
Loads an agent into the represented virtual machine.
|
void |
VirtualMachine.loadAgentLibrary(String library,
String argument)
Loads a native agent library into the represented virtual machine.
|
void |
VirtualMachine.ForHotSpot.loadAgentLibrary(String library,
String argument)
Loads a native agent library into the represented virtual machine.
|
void |
VirtualMachine.ForOpenJ9.loadAgentLibrary(String library,
String argument)
Loads a native agent library into the represented virtual machine.
|
void |
VirtualMachine.loadAgentPath(String path,
String argument)
Loads a native agent into the represented virtual machine.
|
void |
VirtualMachine.ForHotSpot.loadAgentPath(String path,
String argument)
Loads a native agent into the represented virtual machine.
|
void |
VirtualMachine.ForOpenJ9.loadAgentPath(String path,
String argument)
Loads a native agent into the represented virtual machine.
|
static ByteBuddyAgent.AttachmentProvider.Accessor |
ByteBuddyAgent.AttachmentProvider.Accessor.Simple.of(ClassLoader classLoader,
File... classPath)
Creates an accessor by reading the process id from the JMX runtime bean and by attempting
to load the
com.sun.tools.attach.VirtualMachine class from the provided class loader. |
boolean |
VirtualMachine.ForOpenJ9.Dispatcher.ForJnaWindowsEnvironment.WindowsLibrary.ReleaseSemaphore(com.sun.jna.platform.win32.WinNT.HANDLE handle,
long count,
Long previousCount)
Releases the semaphore.
|
Copyright © 2014–2023. All rights reserved.