Java virtual machine memory access method and system based on eBPF
The invention provides a Java virtual machine memory access method and system based on eBPF, and relates to the technical field of computers.The method comprises the steps that an eBPF program is provided in advance, and the eBPF program is configured with a storage area comprising memory data under...
Saved in:
Main Authors | , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
29.08.2023
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention provides a Java virtual machine memory access method and system based on eBPF, and relates to the technical field of computers.The method comprises the steps that an eBPF program is provided in advance, and the eBPF program is configured with a storage area comprising memory data under a kernel; the eBPF program monitors a memory space of a Java virtual machine under an application layer so as to map memory data under the application layer to the storage area; receiving an operation instruction acting on the memory data under the application layer, and calling a local method interface to the memory space by the Java virtual machine; the eBPF program obtains the operation instruction through mapping of a storage area and executes the operation instruction in a kernel, and an execution result is returned to the memory space of the Java virtual machine; the application program obtains the execution result of the operation instruction by accessing the memory space of the Java virtual machine, and th |
---|---|
Bibliography: | Application Number: CN202310633601 |