Bitaholic

JVM 옵션(-verbose) 본문

Computer/프로그래밍일반

JVM 옵션(-verbose)

Bitaholic ...Simple is beautiful Bitaholic 2006.09.06 05:20

javac -verbose javasource.java

 

위와 같이 -verbose 옵션을 주면 어플리케이션이 생성될때 로드되는 클래스들을 보여준다.

 

현재 어떤 클래스들이 로드 되는지 알아볼 때  유용한 옵션~

 

ex) 아래와 같이 application이 실행 할때 Console로 로드 되는 클래스들을 보여준다.~

.

.

.

[Loaded sun.awt.SunGraphicsCallback from C:\Program Files\Java\jre1.5.0_04\lib\rt.jar]
[Loaded java.awt.GraphicsCallback from C:\Program Files\Java\jre1.5.0_04\lib\rt.jar]
[Loaded java.awt.GraphicsCallback$PaintCallback from C:\Program Files\Java\jre1.5.0_04\lib\rt.jar]
[Loaded java.awt.KeyboardFocusManager$1 from C:\Program Files\Java\jre1.5.0_04\lib\rt.jar]
[Loaded sun.awt.im.CompositionArea from C:\Program Files\Java\jre1.5.0_04\lib\rt.jar]
[Loaded sun.awt.im.CompositionAreaHandler from C:\Program Files\Java\jre1.5.0_04\lib\rt.jar]
[Loaded java.text.AttributedString from C:\Program Files\Java\jre1.5.0_04\lib\rt.jar]
[Loaded java.text.AttributedCharacterIterator from C:\Program Files\Java\jre1.5.0_04\lib\rt.jar]
[Loaded java.text.AttributedString$AttributedStringIterator from C:\Program Files\Java\jre1.5.0_04\lib\rt.jar]
[com.tf.show.ui.BasePane] resized
[Loaded java.awt.Container$EventTargetFilter from C:\Program Files\Java\jre1.5.0_04\lib\rt.jar]
[Loaded java.awt.Container$MouseEventTargetFilter from C:\Program Files\Java\jre1.5.0_04\lib\rt.jar]
[Loaded java.awt.LightweightDispatcher$1 from C:\Program Files\Java\jre1.5.0_04\lib\rt.jar]
[Loaded java.awt.AWTEvent$1 from C:\Program Files\Java\jre1.5.0_04\lib\rt.jar]

.

.

.

Tag
공유하기 링크
Comments
댓글쓰기 폼