Print
카테고리: [ Java ]
조회수: 5090

1. 개요

Xint 옵션에 대해 알아보자.

-Xint             해석된 모드만 실행합니다.

영어로는 무슨 말인지 알아보자.

-Xint             interpreted mode execution only

 

2. 테스트

2-1.

아무런 옵션을 주지 않았을 때 부하 투입했다.

$ /java/1.7/bin/jstat -compiler 8197 10s
Compiled Failed Invalid   Time   FailedType FailedMethod
     351      0       0     5.08          0
     351      0       0     5.08          0
     392      0       0     5.81          0
     396      0       0     5.82          0
     396      0       0     5.82          0
     397      0       0     5.84          0
     400      0       0     5.89          0
     400      0       0     5.89          0
     400      0       0     5.89          0
     400      0       0     5.89          0
     400      0       0     5.89          0
     400      0       0     5.89          0
     400      0       0     5.89          0
     400      0       0     5.89          0
     400      0       0     5.89          0
     400      0       0     5.89          0
     411      0       0     6.08          0
     413      0       0     6.10          0
     413      0       0     6.10          0

 

2-2.

이번에는 -Xint 옵션을 주고 동일한 부하를 투입했다.

$ /java/1.7/bin/jstat -compiler 8455 10s
Compiled Failed Invalid   Time   FailedType FailedMethod
       0      0       0     0.00          0
       0      0       0     0.00          0
       0      0       0     0.00          0
       0      0       0     0.00          0
       0      0       0     0.00          0
       0      0       0     0.00          0
       0      0       0     0.00          0
       0      0       0     0.00          0
       0      0       0     0.00          0
       0      0       0     0.00          0
       0      0       0     0.00          0
       0      0       0     0.00          0
       0      0       0     0.00          0
       0      0       0     0.00          0
       0      0       0     0.00          0
       0      0       0     0.00          0
       0      0       0     0.00          0
       0      0       0     0.00          0
       0      0       0     0.00          0