Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (542)
Games in Android Showcase (133)
games submitted by our members
Games in WIP (606)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  ignore  |  Print  
  Escape Analysis?  (Read 13550 times)
0 Members and 1 Guest are viewing this topic.
Offline Mr_Light

Senior Devvie


Medals: 1


shiny.


« Reply #30 - Posted 2008-03-11 06:19:49 »

Implementation Status
- Java SE 6 has escape analysis and lock elision in the server compiler.
- It is off by default, it can be enabled with  the -XX:+UseEscapeAnalysis flag.
- Java SE 7 will have further optimizations.
- There are currently no plans to release a client compiler with escape analysis.
http://developers.sun.com/learning/javaoneonline/2006/coreplatform/TS-3412.pdf

It's harder to read code than to write it. - it's even harder to write readable code.

The gospel of brother Riven: "The guarantee that all bugs are in *your* code is worth gold." Amen brother a-m-e-n.
Offline arm

Senior Newbie




Java games rock!


« Reply #31 - Posted 2009-02-12 07:29:18 »


Now Java SE 6 has escape analysis !

Java 6u11  -server -XX:+AggressiveOpts:

    Testing 1.0E7 allocation of an Object   : 208 ms.
    Testing 1.0E7 Local objects allocation (method scope) : 313 ms.
    Testing 1.0E7 allocation of object in a loop  : 433 ms.


Java 6u14  -server -XX:+AggressiveOpts:

    Testing 1.0E7 allocation of an Object   : 61 ms.
    Testing 1.0E7 Local objects allocation (method scope) : 94 ms.
    Testing 1.0E7 allocation of object in a loop  : 79 ms.


You can download it from http://download.java.net/jdk6/binaries.

Regards
                   Angelo

Offline princec

« JGO Spiffy Duke »


Medals: 439
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #32 - Posted 2009-02-12 20:50:29 »

Yay! I'll wait for an official release tho'.

Cas Smiley

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

Senior Devvie




OutOfCoffeeException


« Reply #33 - Posted 2009-02-12 22:01:27 »

what you see is probably object vectorization (EA are a precondition for this)
http://blog.juma.me.uk/2008/12/17/objects-with-no-allocation-overhead/

Offline kappa
« League of Dukes »

JGO Kernel


Medals: 81
Projects: 15


★★★★★


« Reply #34 - Posted 2009-02-12 22:54:26 »

Oh this looks like a significant performance improvement especially for gaming, wonder if it'll ever be enabled by default.

Hopefully we'll see this enabled once two-tier compilation is added. (any news on two tier compilation?)
Offline GKW

Senior Devvie




Revenge is mine!


« Reply #35 - Posted 2009-02-13 01:19:52 »

The main engineer behind tiered compilation died in the middle of last year.  I have not seen any changesets that mention it so I'd guess it's not a high priority.
Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #36 - Posted 2009-02-13 06:51:36 »

oh, crap - is that Steve Goldman ?
http://blogs.sun.com/fatcatair/ - warning nasty eye thingy on front page [size=18pt]warning nasty eye thingy on front page[/size]

Offline kappa
« League of Dukes »

JGO Kernel


Medals: 81
Projects: 15


★★★★★


« Reply #37 - Posted 2009-02-13 08:35:45 »

oh dear, looks like it was Steve Goldman that passed away. Sad news indeed.
Offline princec

« JGO Spiffy Duke »


Medals: 439
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #38 - Posted 2009-02-14 10:13:32 »

And it looks like he did loads more interesting things than tinker with JVMs as well. That is a great shame.

Cas Smiley

Offline oNyx

JGO Coder


Medals: 2


pixels! :x


« Reply #39 - Posted 2009-02-15 03:18:23 »

oh, crap - is that Steve Goldman ?
http://blogs.sun.com/fatcatair/ - warning nasty eye thingy on front page

Needs bigger warning.

Ew.

Ewww ewww ewww. EWW!

Where is the mind bleach!? :v

弾幕 ☆ @mahonnaiseblog
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #40 - Posted 2009-02-15 07:49:44 »

Needs bigger warning.

Ew.

Ewww ewww ewww. EWW!

Where is the mind bleach!? :v
fixed  Tongue

Offline Mr_Light

Senior Devvie


Medals: 1


shiny.


« Reply #41 - Posted 2009-02-16 00:56:32 »

oi, I wish I had a better monitor so the high resolution would make it smaller.

It's harder to read code than to write it. - it's even harder to write readable code.

The gospel of brother Riven: "The guarantee that all bugs are in *your* code is worth gold." Amen brother a-m-e-n.
Pages: 1 [2]
  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.

Elsealabs (20 views)
2014-12-28 10:39:27

CopyableCougar4 (20 views)
2014-12-28 02:10:29

BurntPizza (25 views)
2014-12-27 22:38:51

Mr.CodeIt (15 views)
2014-12-27 04:03:04

TheDudeFromCI (20 views)
2014-12-27 02:14:49

Mr.CodeIt (26 views)
2014-12-23 03:34:11

rwatson462 (58 views)
2014-12-15 09:26:44

Mr.CodeIt (47 views)
2014-12-14 19:50:38

BurntPizza (98 views)
2014-12-09 22:41:13

BurntPizza (116 views)
2014-12-08 04:46:31
How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21

Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

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
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!