Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4834627
Votes 0
Synopsis sharable copy of the bytecode of JRE classes with multi JVMs running
Category hotspot:runtime_system
Reported Against mantis-beta
Release Fixed
State 11-Closed, duplicate of 4416624, request for enhancement
Priority: 4-Low
Related Bugs 4416624
Submit Date 19-MAR-2003
Description
  xxxxx@xxxxx   2003-03-19

J2SE Version (please include all output from java -version flag):
  1.4

Does this problem occur on J2SE 1.3, 1.4 or 1.4.1?  Yes / No (pick one)
  All

Operating System Configuration Information (be specific):
  All

Hardware Configuration Information (be specific):
  All the supported ones

Bug Description:
  This is not a bug, but it is a problem. When an application
  implemented in Java is run several times, several processes
  running the Java Virtual Machine are run. Each of them loads
  a private, non-shared copy of the bytecode of JRE classes.
  E.g. if the application has a Swing GUI, the bytecode of
  Swing, which is very large, is loaded several times instead
  of being shared as it is the normal case with C/C++.
  This makes the use of Java prohibitive for applications which
  are meant to run on multi-user servers. The problem occurs also
  on Personal Computers since even a single user could run two
  applications implemented in Java.

  This is a critical problem for  xxxxx .

Steps to Reproduce (be specific):
  Run any demo app based on Swing and see the amount of
  memory used.
Work Around
N/A
Evaluation
N/A
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang