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!

java arrays contiguous in memory?

843829Apr 1 2004 — edited Apr 1 2004
are java arrays always contiguous in memory? or how does java save his arrays?

i need to know because i wrote an algorithm with a lot of array length changing, and i wonder if it consumes a lot or not, maybe java uses virtual memory arrays like those here :

http://developers.sun.com/solaris/articles/virtual_memory_arrays.html

any answer is welcome,

Nck.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 29 2004
Added on Apr 1 2004
1 comment
885 views