Skip to content

Instantly share code, notes, and snippets.

@nileema
Created February 29, 2016 23:00
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save nileema/7116559b3b2d98e8e009 to your computer and use it in GitHub Desktop.
Save nileema/7116559b3b2d98e8e009 to your computer and use it in GitHub Desktop.
== Run with 8u25 ==
$ /usr/local/jdk-8u25-64/bin/java -XX:+PrintCodeCache -XX:+UseG1GC -mx20g -ms20g -XX:ReservedCodeCacheSize=20m -jar jittest-1.0-SNAPSHOT-standalone.jar
Timestamp Compilation Time Code Cache Size Perm Gen/Metaspace Size Invocations/s
1456786460321 1918 6.0 6.0 31.98
1456786461337 4864 8.0 6.0 62.12
1456786462338 6585 9.0 7.0 84.19
1456786463339 8108 9.0 7.0 101.52
1456786464340 10053 10.0 8.0 124.16
1456786465341 12062 10.0 8.0 140.01
1456786466341 14310 11.0 9.0 156.02
1456786467342 16015 12.0 9.0 167.68
1456786468343 17831 12.0 10.0 179.31
1456786469343 19364 13.0 10.0 185.00
1456786470384 21387 14.0 6.0 220.00
1456786471385 23804 11.0 6.0 219.70
1456786472387 25109 12.0 6.0 212.65
1456786473404 27788 10.0 7.0 229.87
1456786474404 29111 10.0 8.0 224.43
1456786475405 30441 11.0 8.0 215.45
1456786476405 32408 12.0 8.0 219.50
1456786477407 33852 12.0 9.0 222.31
1456786478407 35703 13.0 10.0 235.19
1456786479408 38374 14.0 11.0 318.90
1456786480408 42845 13.0 6.0 371.82
1456786481409 44803 11.0 6.0 348.40
1456786482409 46229 12.0 7.0 318.75
1456786483410 48765 13.0 7.0 328.48
1456786484410 51186 10.0 8.0 308.70
1456786485411 52741 11.0 8.0 287.18
1456786486411 55460 12.0 9.0 274.44
1456786487412 57462 12.0 9.0 275.04
1456786488413 60377 14.0 10.0 320.61
1456786489414 63127 15.0 12.0 403.50
1456786490485 65578 16.0 6.0 446.55
1456786491486 67595 12.0 6.0 409.10
1456786492496 69437 12.0 7.0 379.10
1456786493497 72026 14.0 8.0 391.83
1456786494497 74638 15.0 9.0 455.51
1456786495498 77401 16.0 11.0 504.29
1456786496501 80163 17.0 12.0 544.63
1456786497502 82773 17.0 14.0 586.05
1456786498502 86172 10.0 6.0 532.95
1456786499503 87881 11.0 6.0 475.10
1456786500504 89495 9.0 7.0 425.97
1456786501504 91586 10.0 7.0 394.81
1456786502505 93914 11.0 8.0 365.00
1456786503506 95717 12.0 8.0 345.34
1456786504507 97071 13.0 9.0 325.63
1456786505508 99858 14.0 10.0 397.68
1456786506508 102637 15.0 12.0 466.44
1456786507509 105403 16.0 14.0 522.70
1456786508509 107345 11.0 6.0 492.32
1456786509509 109132 11.0 6.0 442.50
1456786510510 110710 12.0 7.0 402.10
1456786511511 112515 13.0 7.0 384.03
1456786512511 115792 14.0 9.0 452.02
1456786513511 118702 15.0 11.0 506.56
1456786514512 121429 16.0 12.0 558.38
1456786515513 124336 17.0 14.0 595.48
1456786516513 127562 9.0 6.0 539.62
1456786517514 128698 10.0 6.0 473.54
1456786518514 130557 11.0 7.0 433.11
1456786519520 131661 12.0 7.0 392.12
1456786520540 133874 10.0 8.0 365.21
1456786521541 135400 11.0 8.0 341.26
1456786522549 136948 12.0 9.0 322.90
1456786523549 138653 13.0 9.0 311.03
1456786524550 141530 14.0 11.0 390.52
1456786525551 144276 15.0 13.0 455.05
1456786526561 146973 16.0 14.0 499.64
1456786527561 149030 11.0 6.0 458.79
== Run with 8u45 ==
$ /usr/local/jdk-8u45-64/bin/java -XX:+PrintCodeCache -XX:+UseG1GC -mx20g -ms20g -XX:ReservedCodeCacheSize=20m -jar jittest-1.0-SNAPSHOT-standalone.jar
Timestamp Compilation Time Code Cache Size Perm Gen/Metaspace Size Invocations/s
1456786643628 3160 7.0 6.0 45.35
1456786644636 6155 8.0 7.0 84.93
1456786645637 7743 10.0 7.0 112.18
1456786646638 9336 10.0 8.0 135.02
1456786647638 11049 9.0 8.0 154.35
1456786648639 12904 10.0 9.0 169.97
1456786649639 14738 11.0 9.0 188.39
1456786650640 16605 10.0 10.0 200.54
1456786651640 18360 11.0 10.0 213.94
1456786652641 19704 12.0 11.0 219.61
1456786653642 22418 13.0 11.0 241.79
1456786654642 25915 14.0 13.0 325.07
1456786655643 28942 14.0 15.0 409.29
1456786656649 31518 15.0 16.0 474.01
1456786657650 34708 15.0 18.0 525.39
1456786658650 39009 16.0 19.0 556.71
1456786659651 41986 17.0 21.0 587.74
1456786660652 44714 18.0 22.0 620.60
1456786661652 47411 18.0 24.0 650.32
Java HotSpot(TM) 64-Bit Server VM warning: CodeCache is full. Compiler has been disabled.
Java HotSpot(TM) 64-Bit Server VM warning: Try increasing the code cache size using -XX:ReservedCodeCacheSize=
CodeCache: size=20480Kb used=19270Kb max_used=19295Kb free=1209Kb
bounds [0x00007fddcec00000, 0x00007fddd0000000, 0x00007fddd0000000]
total_blobs=14502 nmethods=14219 adapters=189
compilation: disabled (not enough contiguous free space left)
1456786662653 51302 19.0 25.0 636.56
1456786663654 51302 19.0 26.0 563.78
1456786664654 52613 19.0 27.0 520.45
1456786665663 52613 19.0 27.0 469.30
1456786666663 52613 19.0 28.0 433.39
1456786667663 52613 19.0 28.0 399.69
1456786668666 52613 19.0 29.0 375.65
1456786669666 52613 19.0 29.0 356.60
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment