openjdk/jdk

openjdk/jdk has 5,725,077 source lines of code out of 9,095,103 total lines across 22,582 files, counted with tokei from the master ref at commit 9121672bb2f9 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-16 (commit 9121672bb2f9), openjdk/jdk contains 9,095,103 total lines: 5,725,077 code, 2,561,365 comments, 808,661 blank, across 22,582 files in 35 languages (top language: Java 39.0%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-16 (commit 9121672bb2f9), openjdk/jdk contains 9,095,103 total lines: 5,725,077 code, 2,561,365 comments, 808,661 blank, across 22,582 files in 35 languages (top language: Java 39.0%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving openjdk/jdk to commit 9121672bb2f9, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

Repository size insights

This is a very large codebase by counted code lines. Code represents 62.9% of all lines, comments represent 28.2%, and the repository averages 254 code lines per file. Java accounts for 39.0% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Java14030437998422314931727769420722
XML10761331579132172683391514
C++18541213897849178212228152491
GNU Style Assembly92417973405072132211579
C8165026273429138124278472
C++ Header252552957833241812074376417
C Header10272256811226507451228519
Objective-C133483513301282267113
Autoconf92924428565424255
M437207911656028301401
HTML7514480126091355516
XSL953584463330565

Top language: Java 39.0%. Generated on .

Counting rules and retention

openjdk/jdk: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does openjdk/jdk have?

openjdk/jdk has 5,725,077 lines of code, plus 2,561,365 comment lines and 808,661 blank lines, for 9,095,103 total lines at commit 9121672bb2f9 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the openjdk/jdk line count measured?

OctoCounts resolved the public GitHub repository to commit 9121672bb2f9, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for openjdk/jdk?

This OctoCounts report was generated from master at commit 9121672bb2f9 on November 16, 2026.

Play the growth animation for openjdk/jdk on this page — 5,725,077 code lines across 35 languages, counted by tokei.