Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (495)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  RFE: SERVER jvm into JRE  (Read 1378 times)
0 Members and 1 Guest are viewing this topic.
Offline javazoid

Junior Member




Where's Flender?


« Posted 2004-03-16 05:07:16 »

Here's the RFE:

http://developer.java.sun.com/developer/bugParade/bugs/4401674.html

Mik

Offline Bombadil

Senior Member





« Reply #1 - Posted 2004-03-16 05:44:41 »

"State: Closed, will not be fixed"
:-(

In case one day I'll manage to finish a Java game project I'll offer several versions of the game on my Web site: a JAR bundle, a Webstart version, and for the Windows users a special "JAR + JRE + Server VM's dll + Starter.bat". (The JRE without optional packages).

Jdk/Jre/Readme.txt:
Quote

-----------------------------------------------------------------------
Redistribution of Java 2 SDK Files
-----------------------------------------------------------------------
The limited set of files from the SDK listed below may be included in
vendor redistributions of the Java 2 Runtime Environment.  All paths
are relative to the top-level directory of the SDK.
(..)
- jre\bin\server\
On Microsoft Windows platforms, the Java 2 SDK includes both the Java HotSpot Server VM and Java HotSpot Client VM.  However, the Java 2 Runtime Environment for Microsoft Windows platforms includes only the Java HotSpot Client VM. Those wishing to use the Java HotSpot Server VM with the Java 2 Runtime Environment may copy the SDK's jre\bin\server folder to a bin\server directory in the Java Runtime Environment. Software vendors may redistribute the Java HotSpot Server VM with their redistributions of the Java Runtime Environment.  


Doing so with the international JRE1.4.2_04 version, I get:
Zip: 12,5 MB
Cab:  9,5 MB
Offline princec

JGO Kernel


Medals: 378
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #2 - Posted 2004-03-16 06:35:30 »

Ok, how about a new RFE: Combine server and client VMs into a single VM with two-stage compilation? It's the Holy Grail Of Java Virtual Machine Implementation! At last, Java will live up to the performance claims that everyone makes for it*

Cas Smiley

*which are invariably made about the server VM, after it's been running for 2 days continuously...

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline javazoid

Junior Member




Where's Flender?


« Reply #3 - Posted 2004-03-16 11:21:48 »

Merging the two jvms is a nice suggestion, as the original SUN design of having multiple (pluggable ?) JVMs in the same runtime seems to be miserably failed.

But my question is: Is it really expensive to have the server jvm inside the JRE ? I estimated only 977Kb more, I think this extra overhead is acceptable in order to gain some extra speed for almost every java application.

Maybe the point is the quality of the client JVM: why we get such a different speed by running the same application with client and server jvms ? The server JVM outperforms the client one in math and array handling. So why do not include those code-optimizing parts of the server jvm into the client jvm by default ?
The server jvm could still be there for huge-memory-usage multithreaded server applications, while the client jvm would perform better for client applications such as games, gfx handling etc.

Offline princec

JGO Kernel


Medals: 378
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #4 - Posted 2004-03-16 12:01:33 »

I'm sure the server VM could be pretty trivially adapted to do quick and dirty client VM jitting after 1500 invocations and then discard it and perform the heavy server optimisations at 10000 invocations. How radically different can the two codebases be? Don't answer Wink I know the Sun engineers are thinking about it and have been for, ohh, two years now, but its mysteriously low on their list of priorities.

Cas Smiley

Offline genepi

Senior Newbie




azerty


« Reply #5 - Posted 2004-03-16 12:49:33 »

Yes!
I add my voice for a compiler dynamically optimizing with run time: http://forum.java.sun.com/thread.jsp?forum=316&thread=501335&tstart=0&trange=15
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Dwinin (28 views)
2014-09-12 09:08:26

Norakomi (57 views)
2014-09-10 13:57:51

TehJavaDev (74 views)
2014-09-10 06:39:09

Tekkerue (38 views)
2014-09-09 02:24:56

mitcheeb (57 views)
2014-09-08 06:06:29

BurntPizza (45 views)
2014-09-07 01:13:42

Longarmx (28 views)
2014-09-07 01:12:14

Longarmx (34 views)
2014-09-07 01:11:22

Longarmx (35 views)
2014-09-07 01:10:19

mitcheeb (40 views)
2014-09-04 23:08:59
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!