We usually use some of the software, a part of the need for Java environment support, but sun so many products, let people dazzling version number, before looking at the same abbreviation, let us choose the time often deterred, had to follow the feeling to go. So here's what I'm going to be trying to tell you about, first of all, let's look at the many Sun products::http://developers.sun.com/downloads/Haha has not expanded their sub-options, let peopl
probe interface, Java Virtual Machine Monitoring Program Interface) java Virtual Machine resources, application objects, and other monitoring tools. The Java event probe tool is a good helper for analyzing the Java program performance. However, in the final analysis, the performance improvement depends on the programm
Log4j is a boon to readers who are used to "System. out. println. Although Java 2 Standard Edition has a java. util. logging package to ensure log output, the simplicity, efficiency, and flexibility of Log4j have become the choice of many projects. To some extent, logs can test the stability and correctness of the system. Therefore, you can use configurable Log4j (currently, Log4j has been taken into accou
object is added to a vector, it must be deleted from the vector. The simplest way is to set the vector object to null.
Vector v=new Vector(10);for (int i=1;i{ Object o=new Object(); v.add(o); o=null; }
// At this time, all object objects are not released because variable v references these objects.
How to detect memory leakage
The last important issue is how to detect Java memory leaks. Currently, we usually use some tools to check th
The first part goes into the Java1.java technology systemSun's officially defined Java technology System includes several components:
Java Program Set Language
Java virtual machines on a variety of hardware platforms
class file format
Java API Class Libr
object to null.
Vector v=new Vector(10);for (int i=1;i{ Object o=new Object(); v.add(o); o=null; }
// At this time, all object objects are not released because variable v references these objects.
How to detect memory leakage
The last important issue is how to detect Java memory leaks. Currently, we usually use some tools to check the memory leakage of Java programs. There are already sever
reference itself, then the vector still references the object, so the object is not recyclable to the GC. Therefore, if the object has to be removed from the vector after it has been added to the vector, the simplest way is to set the vector object to null.Vector v=new vector (int i=1;iAt this point, all object objects are not freed because the variable v refers to these objects.Back to top of pageHow to detect memory leaksThe last important question is how to detect a
Java EE, as the development of mission-critical enterprise-class application of a set of standardized integration platform, more specifications, a wide range of content, so as to develop Java application has brought a lot of "trouble." For example, in order to implement RDBMS storage for content, we might have JDBC, Entity Beans, JDO, O/R mapping Tools (TopLink, Hibernate), XM L-dbms, JAXB, and other method
Java EE, as the development of mission-critical enterprise-class application of a set of standardized integration platform, more specifications, a wide range of content, so as to develop Java application has brought a lot of "trouble." For example, to implement RDBMS storage for content, we might have JDBC, Entity Beans, JDO, O/R mapping Tools (TopLink, Hibernate), Xml-dbms, Methods such as JAXB (some of th
The popularity and wide application of Java, and its mechanism based on virtual machine operation, make the performance problem more and more important. This paper analyzes Java application design from the perspective of Java Virtual machine, especially the garbage collection mechanism, and concludes several principles and habits of design and code that are very
Java basic notes (1) JAVA's historical Java Build Environment, java build
In addition to setting up, this article focuses on reading novels and reading them. If you don't want to read them, you can grasp the focus directly. I will change the color to indicate the focus!
English is one of the most important ways for people to communicate with each other.
Xiaokang will accompany you to learn JAVA -------- simple JAVA program, java -------- java
Analyzes a simple and complete JAVA program
Example: TestJava2_1.java
01 // TestJava2_1.java,
creation of PDF files. Note: a license is required for commercial purposes. Official Website
JasperReports: a complex report engine. Official Website
Performance Analysis
Performance analysis, performance analysis, and benchmark testing tools.
JHiccup: Provides logs and records for JVM suspension on the platform. Official Website
JMH: JVM Benchmark Testing Tool. Official Website
JProfiler: Commercial analyzer. Official Website
LatencyUtils: a tool for measuring and reporting latency. Offi
IntroductionThis article is the second article in the Java Performance Analysis tool series, the first article: Operating system Tools. In this article, you will learn more about Java applications and the JVM itself using built-in Java monitoring tools. There are many built-in tools in the JDK, including:
Jcmd: Prints the class, thread, and virtual machi
provide strategic business insights or integrate with your existing applications to power their interacti ONS with incoming data. Elasticsearch is a flexible and powerful open source, distributed, real-time search and analytics engine. Architected from the ground up for use in distributed environments where reliability and scalability is must haves, elast Icsearch gives you the ability to move easily beyond simple full-text search7) SonarqubeSonarQube is a open platform to manage code quality.
Pseudo-sharing and cache row filling, from Java 6, Java 7 to Java 8, java
There are already a lot of articles about pseudo-sharing. For multi-threaded programming, especially when processing lists and arrays with multiple threads, you should pay attention to the issue of pseudo-sharing. Otherwise, the multi-thread perf
Java Chinese garbled solution (4) ----- java coding conversion process, java ----- java
The first three blogs focus on character encoding. Through these three blogs, you will have a preliminary understanding of various character encoding methods, to understand the Chinese language of
. These tools include Optimizeit Profiler,jprobe profiler,jinsight, Rational company Purify, etc. below, we will briefly describe the basic functions and working principles of Optimizeit. Optimizeit Profiler version 4.11 supports Application,applet,servlet and Romote application four class applications and can support most types of JVMs, including the Sun JDK se
to open, from the UI, this software is based on NetBeans development.From the interface is still relatively concise, the left is a tree structure, automatically display the current native running Java program, you can also add a remote Java VM, where the PID in parentheses refers to the process ID. The Overview interface displays the VM startup parameters and some of the properties for that VM. The monitor
interesting and sharing.Fetch Call tree and time overheadThe most common way to get the time overhead for code blocks in Java is System.currentTimeMillis() . Popular class libraries such as Apache and guava have encapsulation class StopWatch for the ability to acquire time overhead.There is no common encapsulation of the capture call tree. A recommended practice is to give each block of code a unique tag in a single call, which can reflect the nestin
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.