Non-intrusive thread pool dynamic management method and system

Through Java Agent technology and bytecode enhancement, dynamic management of thread pool parameters and adaptive queue adjustment are achieved, which solves the flexibility and intrusiveness problems of thread pool management and provides thread pool optimization capabilities with zero code modification.

CN120653454AActive Publication Date: 2025-09-16SSE INFORMATION NETWORK LTD
8 Cites 1 Cited by

Patent Information

Application Number
CN202511165643.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-20
Publication Date
2025-09-16
Estimated Expiration
2045-08-20

AI Technical Summary

Technical Problem

Existing thread pool management methods lack flexibility and timeliness. Static configuration adjustments require restarting the application, while dynamic management is costly and intrusive to the program.

Method used

The Java Agent intercepts the loading request of the thread pool class and performs bytecode enhancement. Combined with the configuration of the monitoring service and the adaptive queue capacity adjustment algorithm, dynamic management of thread pool parameters and adaptive adjustment of task queues are achieved.

Benefits of technology

It enables transparent adjustment of thread pool parameters at runtime without modifying application code. It has adaptive scaling capabilities, reduces transformation costs and risks, and is suitable for various thread pool usage scenarios.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention relates to the technical field of data management, and provides a non-intrusive thread pool dynamic management method and system.The method comprises the steps that S1, in the application program loading stage of a virtual machine, a loading request of a thread pool class is intercepted through a Java Agent; s2, performing byte code enhancement processing on the thread pool class; s3, dynamic management during operation: S31, when the configuration monitoring service monitors configuration change, initiating adjustment of related thread pool parameters, and S32, when a monitoring reporting period is reached, reporting the collected indexes; and S33, a blocking queue type set in the thread pool parameters is a bounded queue, and corresponding capacity expansion and capacity reduction operations are performed according to a self-adaptive queue capacity adjustment algorithm in combination with the acquired monitoring indexes. The method has the core advantages of zero transformation cost, fast dynamic response and strong framework compatibility, and provides a thread pool optimization capability which is ready to use when the box is opened for a high-concurrency system.
Need to check novelty before this filing date? Find Prior Art