Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Machine > Re: 65535 bytes...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 5 Topic 754 of 808
Post > Topic >>

Re: 65535 bytes method code limit?

by glen herrmannsfeldt <gah@[EMAIL PROTECTED] > May 31, 2007 at 01:48 PM

Roedy Green wrote:
> On 1 Mar 2007 13:24:13 -0800, "aloha.kakuikanu"
> <aloha.kakuikanu@[EMAIL PROTECTED]
> wrote, quoted or indirectly quoted someone

>>Perhaps I'm missing some magic JVM parameter setting? Aren't 16 bit
>>integers relics of the past century?

> Nope. Using 32 bit addressing would double the size of a class file.
> It is rare to blow the limit unless you are mechanically generating
> code.

If you used an escape or prefix code for larger addresses it wouldn't
double the size.  I believe that might have been part of the
design, but was never (as far as I know) implemented.  Yes, it is
exactly mechanically generated code that needs this.

(The IBM z/OS system only allows code below the 2GB bar.  There
has been discussion on the need for this restriction, but again
it is only machine generated code that is likely to cause problems.)

-- glen
 




 5 Posts in Topic:
65535 bytes method code limit?
"aloha.kakuikanu&quo  2007-03-01 13:24:13 
Re: 65535 bytes method code limit?
"Chris Uppal" &  2007-03-01 22:04:29 
Re: 65535 bytes method code limit?
Florian Weimer <fw@[EM  2007-03-02 13:45:31 
Re: 65535 bytes method code limit?
Roedy Green <see_websi  2007-05-25 08:35:05 
Re: 65535 bytes method code limit?
glen herrmannsfeldt <g  2007-05-31 13:48:57 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 5 19:06:18 CDT 2008.