As of 2026-08-22 (commit f720c3671a2e), openjdk/jdk contains 9,106,476 total lines: 5,753,313 code, 2,547,430 comments, 805,733 blank, across 22,710 files in 35 languages (top: Java 38.7%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving openjdk/jdk to commit f720c3671a2e, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.
This is a very large codebase by counted code lines. Code represents 63.2% of all lines, comments represent 28.0%, and the repository averages 253 code lines per file. Java accounts for 38.7% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Java | 13990 | 4364357 | 2225485 | 1719355 | 419517 |
| XML | 1269 | 1386076 | 1375285 | 9292 | 1499 |
| C++ | 1843 | 1193716 | 834688 | 208734 | 150294 |
| GNU Style Assembly | 92 | 417958 | 405058 | 1322 | 11578 |
| C | 826 | 508519 | 346776 | 81922 | 79821 |
| C++ Header | 2509 | 515896 | 321847 | 119122 | 74927 |
| C Header | 1024 | 228357 | 125074 | 74039 | 29244 |
| Objective-C | 133 | 48315 | 32994 | 8216 | 7105 |
| Autoconf | 9 | 29244 | 28565 | 424 | 255 |
| M4 | 37 | 20696 | 16475 | 2828 | 1393 |
| HTML | 75 | 14480 | 12609 | 1355 | 516 |
| XSL | 9 | 5360 | 4467 | 329 | 564 |
Top language (Java 38.7%). Generated at 2026-08-22T00:27:36.246992432+00:00.
openjdk/jdk has 9,106,476 total lines, including 5,753,313 code lines, 2,547,430 comment lines, and 805,733 blank lines.
OctoCounts resolved the public GitHub repository to commit f720c3671a2e, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from master at commit f720c3671a2e on 2026-08-22T00:27:36.246992432+00:00.