Java Programmer's Common tool set

Source: Internet
Author: User

One, the coding tool

1.ide:eclipse or idea, familiar with as many shortcut keys as possible, "Eclipse Common Shortcuts List"
2. Plugins:
(1) Findbugs, it is necessary to perform a static code check before release
(2) Clover, care about your unit test coverage
(3) Checkstyle code style check

3. Build and deploy tools: Ant or Maven, now the mainstream is MAVEN, using Nexus to build the MAVEN, plus the continuous integration of Jenkins. No worries about the quality of the code.

4. Version management tools: SVN or Git

5.diff and patch

6. Set up your eclipse or idea, such as formatter,save actions and code template. Code style, directly with Google's can also ah. Google Style Guide

7. Master a text editor, Emacs or vim, familiar with common shortcut keys. This is especially useful when you need to edit code online, or write other language code. "Artifact Jihad"

Second, JDK-related

1.jstat: Observe GC conditions, such as:

Jstat-gcutil PID 2000


2.jmap to view the heap situation, such as viewing the list of surviving objects:

jmap-histo:live pid |grep Com.company |less


or dump memory for analysis:

Jmap-dump:file=test.bin PID


3. Analysis dump heap file, can use Jhat:

Jhat Test.bin


After the analysis is complete, you can view the heap in a browser. The results of this tool are relatively primitive, you can also use the Eclipse Mat plugin for graphical analysis, or IBM's heap Analyzer.

4.JVISUALVM and JCONSOLE:JVM with the performance analysis and monitoring tools, how to use? Please read the documentation yourself.

5.jstack: Analyze the thread stack, as

Jstack pid > Thread_dump


See how the highest CPU threads are doing together top and jstack:http://www.iteye.com/topic/1114219

6. More JVM tools, see official Documentation: http://docs.oracle.com/javase/6/docs/technotes/tools/

7. Learn to use Btrace to analyze Java runtime issues. Introduction to the use of Btrace

8.GC Log Analysis tool: GC Viewer, gc-console or pick it yourself.

9. Performance analysis Tools, in addition to their own JVISUALVM, can also be used in commercial jprofiler.

10.JVM parameter Daquan

11. "JVM Tuning Standard parameter trap", Iteye God paste.

Third, Linux tools

1. Familiar with common shell commands,


2. Set up SSH free login



3. Replace top with Htop.

4. Be familiar with the strace,gdb and even systemtap to analyze the problem.

5. Familiar with Vmstat,iostat,sar and other performance statistics tools.

5. Automate deployment scripts, py-fabric or cover my clojure-control.

Iv. Other

1. Master a scripting language, Python or Ruby, to efficiently solve some of the tasks that require quick and dirty: such as reading and writing files, importing and exporting databases, web crawlers, etc. Attention is not python.com, Ka ka.

2. Use a Linux or Mac OS system as your development environment.

3. Upgrade your "Hardware Tools", dual-screen large-screen display, SSD, 8G memory and more.

4. You know: https://code.google.com/p/goagent/

Java Programmer's Common tool set

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.