Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (601)
Games in Android Showcase (171)
games submitted by our members
Games in WIP (649)
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 1548 times)
0 Members and 1 Guest are viewing this topic.
Offline javazoid

Junior Devvie

Where's Flender?

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

Here's the RFE:


Offline Bombadil

Senior Devvie

« 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).


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 Spiffy Duke »

Medals: 555
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 Devvie

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 Spiffy Duke »

Medals: 555
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


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

I add my voice for a compiler dynamically optimizing with run time:
Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

Jesse (12 views)
2015-07-29 04:35:27

Riven (33 views)
2015-07-27 16:38:00

Riven (18 views)
2015-07-27 15:35:20

Riven (20 views)
2015-07-27 12:26:13

Riven (10 views)
2015-07-27 12:23:39

BurntPizza (30 views)
2015-07-25 00:14:37

BurntPizza (40 views)
2015-07-24 22:06:39

BurntPizza (24 views)
2015-07-24 06:06:53

NoxInc (27 views)
2015-07-22 22:16:53

NoxInc (18 views)
2015-07-22 22:13:39
List of Learning Resources
by gouessej
2015-07-09 11:29:36

How Do I Expand My Game?
by bashfrog
2015-06-14 11:34:43

List of Learning Resources
by PocketCrafter7
2015-05-31 05:37:30

Intersection Methods
by Roquen
2015-05-29 08:19:33

List of Learning Resources
by SilverTiger
2015-05-05 10:20:32

How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21 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‑
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!