By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,950 Members | 989 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,950 IT Pros & Developers. It's quick & easy.

JAR Files loaded twice under Solaris.

P: n/a
We have noticed the following behavior: Dumping the memory contents
with pmap for jdk1.3.1_06 under Solaris 5.8 would return something
like this:
.....
C5D80000 3816 3816 3816 - read/shared dev:311,8863 ino:2187608
C6180000 3816 3816 3816 - read/shared dev:311,8863 ino:2187608
.....

Looking at the Inodes
find . -inum 2187608 -mount -print would return something like this./myApplication/archvies/MyArchive.jar


Obviously this means that the same jar file was loaded twice into
memory by the jvm. This seems to occur to most jar files, but not all.
There was a bug for this in jdk1.2.X, I couldn't fine one for
1.3.1_06. In our case, ~200 MB of code, this is an expensive waste of
memory. Has someone found a workaround for this?
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.