JAV Language Overview

Source: Internet
Author: User

The Java language is both a compiled language and an interpreted language (compiled language: programs can leave the development environment and run independently on a particular platform. Interpreted language: Inefficient execution and easy cross-platform

JDK Directory

The Java language is a strictly case-sensitive language

Garbage collection mechanism basic principle: for objects that are no longer needed, they are no longer referenced

Characteristics:

1. Reclaim the memory space in the JVM heap memory, but not to other physical resources, such as database connection, disk I/O and other resources;

2. By setting the reference variable to NULL to imply that the garbage collection mechanism can reclaim the object;

3. The unpredictable nature of garbage collection;

4. Accuracy one: To accurately mark the Living object; two: accurately position the reference relationship between objects

5. Each recovery mechanism varies depending on the algorithm, some of which stop the application when garbage collection starts, and when garbage collection runs to allow the application's thread to run, and to allow garbage collection to run multithreaded at the same time

JAV Language Overview

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.