The invention discloses an application program object monitoring method and
system,
computer equipment and a storage medium, and relates to the technical field of
software development, and the method comprises the following steps: when an application program creates a target object, judging whether the target object exists in a target
linked list or not; when the target object does not exist in the target
linked list, creating a new target object, storing the new target object in the memory of the JVM, and returning the new target object to the application program; monitoring the size of a new target object in the memory of the JVM, when the size of the target object exceeds a preset value, marking the target object as a large object, adding the target object to the head of the target
linked list, and storing the target object in an object
pool; scanning the target linked
list, defining the target objects stored in the first N / M as hot objects, and setting parameters for the corresponding target objects in the object
pool according to the hot objects; and defining the target object stored in the later M-N / M as a cold object, and setting parameters for the corresponding target object in the object
pool according to the cold object. By means of the method, the large object can be intelligently recognized, and the overall performance of the application program can be improved.