From: Ivano Luberti
Sent: Thursday, July 25, 2024 9:21 AM
To:users@tomcat.apache.org
Subject: Re: java code cache size question
Thank you all. Try to answer to everyone in one mail. I forgot to check the
java version in the oracle page I had found and since other blog pages were
always referring to
@tomcat.apache.org
Subject: Re: java code cache size question
Thank you all. Try to answer to everyone in one mail. I forgot to check the
java version in the oracle page I had found and since other blog pages were
always referring to 48 MB I was left thinking there were no differences among
version. (I'm
Thank you all.
Try to answer to everyone in one mail.
I forgot to check the java version in the oracle page I had found and
since other blog pages were always referring to 48 MB I was left
thinking there were no differences among version.
(I'm tired, going on holiday tomorrow :-) )
The def
> Hi, I have a tomcat 9 instance that runs without specifying options for
> the code cache.
>
> Looking at the servet status I see
>
> Code CacheNon-heap memory 2.43 MiB163.93 MiB 240.00
> MiB 147.30
> MiB (61%)
>
> So te maximum size is 240MB
>
> Looking at Java doc
Ivano
48MB was the default in the olden days. It is 240MB now. I believe the change
came in Java 8 to accommodate the fact that the HotSpot compiler now compiles
all methods when they are hit for the first time.
Thanks
From: Ivano Luberti
Sent: Thursday, July 25, 2024 8:43 AM
To: users@tom
Ivano,
On 7/25/24 09:43, Ivano Luberti wrote:
Hi, I have a tomcat 9 instance that runs without specifying options for
the code cache.
Good. If you don't know what you are doing, leaving options at their
defaults is the best policy.
Looking at the servet status I see
Code Cache Non-he