A summary of the key difficulties-----the Java Experience

Source: Internet
Author: User

1. about the JVM principle: http://www.cnblogs.com/zhanglei93/p/6590609.html

2. About the garbage collection mechanism: http://www.cnblogs.com/zhanglei93/p/6636831.html

JVM Runtime data area has program counters, virtual machine stacks, local method stacks, heaps, method area 5 regions. The first three regions are created with the creation of threads and die out with the demise of the thread, and stack frames in the stack execute the stack and stack operations methodically as the method enters and exits. Therefore, the three regions do not need to consider the garbage collection problem too much. While the Java heap and the method area are different, multiple implementations of an interface require memory that may be different, and multiple branches in one method may require different memory, and only when the program is running can you know which objects are created, and that the allocation and collection of memory is dynamic.
View Code

The difference between 3.path and classpath: http://www.cnblogs.com/zuosl/articles/4317637.html

1 path is the full path that the system uses to specify the executable file, even if the path of the JDK is not set in path to execute the Java file, but the full path must be written 2 classpath is to specify the classes you use in your program (. Class) file, as if you were introducing a class: Import Javax.swing.JTable this sentence is to tell the compiler to introduce javax.swing this package under the JTable class, and classpath is to tell the compiler where to find this class (if you set the path of this class in classpath);
View Code

Remind this is just a summary of the part, more comprehensive add the Java Industry Communication Group 657516707

A summary of the key difficulties-----the Java Experience

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.