Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JVM method maximum?

843811Jul 2 2002 — edited Jul 14 2002
This is something that usually only occurs with generated code (for example JSPs), but since that occurs more and more lately, I was amazed by this discovery.

It appears that the JVM goes sour if a method exceeds 64K.

I did not find any reference of this boundary in the specs on the Sun JVM. Does anyone know of a JVM that does not have this limit? What is the reason for such a limit?

Tom
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 11 2002
Added on Jul 2 2002
7 comments
730 views