) must be incrementally increased according to the above rules, and the lower version number must start at 0.Need an example?Consider a pod with the current version of 1.2.3.If you do some changes that are not backwards compatible, no new functionality, but you have modified the existing bug, the next version is 2.0.0Challenge Time1. If the current version number of a pod is 2.4.6, and has made some bug fixes, and added some backward compatibility features, what should be the new version??Answer
, which is a disaster for GC threads; Gang WORKER#0JVMJVM is used for new generation garbage collection (Monir GC) is a thread. #号后面是线程编号, for example: Gang worker#1 GC DAEMONJVMGC Daemon thread is the JVM for RMI provide remote distributed GC usage, the GC daemon thread will actively invoke the System.GC () method to perform full GC on the server. The intention is that when the RMI server returns an object to its client (the caller of the remote meth
round of garbage collection is started, so not all of the object's Finalize () methods will be executed;2) This thread is also a daemon thread, so the JVM exits if there are no other non-daemon threads in the virtual machine, whether or not the thread has completed the Finalize () method;3) at garbage collection, the JVM wraps the object that is lost as a finalizer object (the implementation of the reference) and puts it in Referencequeue, which is handled by the finalizer thread, and finally t
() method of the object before garbage collection; about Finalizer threads: 1) Call the Finalize () method only when you start a garbage collection , so not all object's Finalize () methods are executed; 2) The thread is also a daemon thread, so if there are no other non-daemon threads in the virtual machine, the JVM exits, regardless of whether or not the Finalize () method is executed by the thread; 3) At garbage collection, the JVM wraps the object that is lost as a finalizer object (the imp
Reference) and put them into ReferenceQueue, which will be handled by the Finalizer thread; finally, the reference of the Finalizer object is set to null, which is collected by the garbage collector;
4) Why should the JVM use a single thread to execute the finalize () method? If the JVM garbage collection thread does it by itself, it is likely that the GC thread is stopped or uncontrollable due to misoperations in the finalize () method, which is a disaster for the GC thread;
Gang worker #0 JVM
is lost as a finalizer object (the implementation of the reference) and puts it in Referencequeue, which is handled by the finalizer thread, and finally the reference to the finalizer object is set to null. Collected by the garbage collector;4) Why does the JVM have to use a single thread to execute the Finalize () method? If the JVM's garbage collection thread is doing it itself, it is likely that the GC thread will be stopped or not controlled due to a mistake in the Finalize () method, which
collector; 4) Why does the JVM use a single thread to execute the Finalize () method? If the JVM's garbage collection thread is doing it itself, it is likely that the GC thread will be stopped or not controlled due to a mistake in the Finalize () method, which is a disaster for GC threads;
Gang worker#0
Jvm
A thread used by the JVM to do a generation of garbage collection (Monir GC). #号后面是线程编号, for example: Gang worker#1
round of garbage collection is started, so not all of the object's Finalize () methods will be executed;2) This thread is also a daemon thread, so the JVM exits if there are no other non-daemon threads in the virtual machine, whether or not the thread has completed the Finalize () method;3) at garbage collection, the JVM wraps the object that is lost as a finalizer object (the implementation of the reference) and puts it in Referencequeue, which is handled by the finalizer thread, and finally t
garbage collection is started, so not all of the object's Finalize () methods will be executed;2) This thread is also a daemon thread, so the JVM exits if there are no other non-daemon threads in the virtual machine, whether or not the thread has completed the Finalize () method;3) at garbage collection, the JVM wraps the object that is lost as a finalizer object (the implementation of the reference) and puts it in Referencequeue, which is handled by the finalizer thread, and finally the refere
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.