Skip to content

Commit

Permalink
Merge pull request #38635 from geoand/#38575
Browse files Browse the repository at this point in the history
Add note about C2 compiler in dev-mode
  • Loading branch information
gsmet authored Feb 7, 2024
2 parents 95ac381 + e76c951 commit f84b2bc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/src/main/asciidoc/dev-mode-differences.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ Thus, when running the production application, build time operations are not per
Furthermore, the purpose built ClassLoader that comes with the xref:maven-tooling.adoc#fast-jar[fast-jar] package type ensures that class lookup is done as fast as possible while also keeping
the minimum amount of jars in memory.

[NOTE]
====
Since optimal performance is never an objective of dev mode, in the interest of improving startup time, the JVM's C2 compiler is disabled in dev mode.
====

== Security implications

Perhaps the most important reason why dev mode applications should not be run in production is that the dev mode allows reading information that could be confidential (via the Dev-UI)
Expand Down

0 comments on commit f84b2bc

Please sign in to comment.