1. Official feature139:enhance Javac to Improve Build speed.199:smart Java Compilation, Phase2. Instructions for useThe first phase of the Smart Java Compilation tool (Sjavac) starts with the JEP139 project, which is used to increase the compilation speed of the JDK in the case of multi-core processors. Today, the project is in the second phase, JEP199, to improv
to reverse check the requirements coverage (use case) test is fully complete.
If you do coverage testing. We can use a number of online popular coverage tools, this chapter mainly introduces Jacoco this tool.
A comparative analysis of Emma and Jacoco:
Java main code coverage tools on the market: EMMA, Jacoco
Summarize the individual's understanding of the Jacoco advantage:
(1) Jacoco supports branch cover
transfer tool. Before the implementation of the HttpDownload class is provided, an interface DownloadEvent interface is provided. From the interface name, it can be seen that it is used to handle events during the download process. The following is the implementation code of this interface:
Package download;Public interface DownloadEvent{Void percent (long n); // download progressVoid state (String s); // status switching during connectionVoid viewHt
, when we visited our project, some static resources such as new classes were loaded into the JVM. This is also confirmed by a graph of the number of loaded classes in 5.4.5.4. Tomcat Load class case6. With the use of JmapFind us first the PID of the Tomcat process is 13863 and then execute jmap-heap 13863:The basic of the Heap Configuration is the ones we just match, such as Maxheapsize is 2048 mb,maxpermsize is MB. This is the same as in 5.1.Resources
Sun
JstackTo print out the Java stack information for a given Java process ID or core file or remote Debugging service, if it is on a 64-bit machine, the option "-J-D64" needs to be specified, and the Jstack usage of Windows supports only the following:Jstack [-l][f] PIDIf a Java program crashes generating a core file, the Jstack
An excellent integrated development tool such as Eclipse and JBuilder may have forgotten the existence of the Java command line tool, we seldom use javac or Java in the command line to compile and run our program. This article is a return to the truth, because sometimes we should use these commands, at least to underst
Reference:http://blog.163.com/lucas_nina/blog/static/185960149201493034258448/Proven OKJconsole is a tool that comes with the JDK. So install the JDK firstPath to the 1.jconsole tool:View/usr/local/jdk1.7.0_79/bin/jconsole by which Jconsole2. How to use:On the Linux monitor side of the graphical interface execution:/usr/local/jdk1.7.0_79/bin/jconsoleA graphical Java monitoring and Management console appears
Need to use Java to write an FTP tool, because only a little Java foundation, but because a few years do not, almost is not, had to do a little bit, fortunately can pick up.
However, because of the use of Javac in Linux to compile, not in WIN under the IDE to do these things, so in the run and compile a little time, but it is because of some of the
easier it is to add new product features. Tools such as Checkstyle can help find places that can affect maintainability, conflict with coding standards, such as large classes, too long methods, unused variables, and so on.
about PMDAnother Open-source tool, called PMD, provides similar functionality as Checkstyle. I prefer Checkstyle, but PMD also has a lot of followers, so I suggest you take a look at t
A good Java programmer tool: json-to-javabean,
I will introduce a developed tool, json-to-java. It can help java programmers to generate corresponding javabean through json. This tool is particularly useful when you need to call
Stream series:
Basic syntax for the stream of the Java 8 Series A powerful tool for the stream of the Java 8 Series collector Java 8 Series refactoring and custom collectors Java 8 series The stream of the almighty reduceOverview
Previously we used collect (ToList ()) to gen
through at HotSpotDiagnosticMXBean runtime. See jconsole (1) and the HotSpotDiagnosticMXBean interface description athttp://docs.oracle.com/javase/8/docs/jre/api/management/extension/com/sun/management/HotSpotDiagnosticMXBean.html
Heap dump is generated if an is a OutOfMemoryError thrown by specifying -XX:+HeapDumpOnOutOfMemoryError , Java Virtual machine (JVM) option.
Use the hprof command. See the Hprof:a heap/cpu Profiling
How to install jadclipse on Eclipse 3.1.1 [Java decompilation tool]
------ Abstract: Java _ stream Sub-Jan.17 2006 --------
Jad is a Java decompilation tool and a command line execution tool. The Decompilation source file is highl
[JAVA tool] jstack is simple to use to locate problems such as endless loops, thread blocking, and deadlocks. javajstack
When we run a java program and find that the program is not moving, but we don't know where the problem is, we can use the jstack tool that comes with JDK to locate it;
Let's just look at the example
Java GUI development tool netbeans Introduction
1. Download netbeans and decompress it to run it.
Netbeans is a pure Java program. Windows, os2, OpenVMS, and Linux are the same program, but they are started through different startup programs. This is good. The Java compiler of pure C ++ is much faster than that of pure
string and returns a string H, reverse (string str) reverses the string, returning astring of tools to master this and Java-brought API basically to meet the daily development needs2. Collection Tool class Apache's Org.apache.commons.collections's collectionutils:A, Collectionutils.isempty (null): True B, Collectionutils.isnotempty (NULL): false Spring's Org.springframework.util's collectionutils: A, Col
the life cycle. It is not only called after the Init method, but the Start method is also called when the Applet's current window is activated. 3. Abort phase: Stop MethodThe stop method is called when the applet is not needed, or when the applet is closed. In the Stop method, perform some cleanup or shutdown of some resource-intensive operations. The Stop method is only called once throughout the life cycle. 4. Releasing resources: Destroy Methodafter calling the Stop method, call the Destroy
JSON serialization Common tool Class (Java)> to support the normal use of this tool class, first import the following jar packagesThe 1.lombok package is a jar package that simplifies Java redundancy code and is very handy in real-world development.Import Lombok coordinates in MAVEN Pom file 2.json Serialize
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.