Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (404)
games submitted by our members
Games in WIP (289)
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 10419 times)
0 Members and 1 Guest are viewing this topic.
Offline Mr_Light

Senior Member




shiny.


« Reply #30 - Posted 2008-03-11 07: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 08: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
« League of Dukes »

JGO Kernel


Medals: 195
Projects: 3


Eh? Who? What? ... Me?


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

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

Cas Smiley

Games published by our own members! Check 'em out!
Play the free demo of Revenge of the Titans!
Offline bienator

Senior Member




OutOfCoffeeException


« Reply #33 - Posted 2009-02-12 23: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: 50
Projects: 15


★★★★★


« Reply #34 - Posted 2009-02-12 23: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 Member




Revenge is mine!


« Reply #35 - Posted 2009-02-13 02: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
« League of Dukes »

JGO Knight


Medals: 13
Projects: 2


I'm gonna wring your pants!


« Reply #36 - Posted 2009-02-13 07: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: 50
Projects: 15


★★★★★


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

oh dear, looks like it was Steve Goldman that passed away. Sad news indeed.
Offline princec
« League of Dukes »

JGO Kernel


Medals: 195
Projects: 3


Eh? Who? What? ... Me?


« Reply #38 - Posted 2009-02-14 11: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: 1


pixels! :x


« Reply #39 - Posted 2009-02-15 04: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!
Play the free demo of Revenge of the Titans!
Offline Matzon
« League of Dukes »

JGO Knight


Medals: 13
Projects: 2


I'm gonna wring your pants!


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

Needs bigger warning.

Ew.

Ewww ewww ewww. EWW!

Where is the mind bleach!? :v
fixed  Tongue

Offline Mr_Light

Senior Member




shiny.


« Reply #41 - Posted 2009-02-16 01: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.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars and Titan!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (43 views)
2013-05-17 21:29:12

alaslipknot (52 views)
2013-05-16 21:24:48

gouessej (81 views)
2013-05-16 00:53:38

gouessej (80 views)
2013-05-16 00:17:58

theagentd (89 views)
2013-05-15 15:01:13

theagentd (82 views)
2013-05-15 15:00:54

StreetDoggy (126 views)
2013-05-14 15:56:26

kutucuk (148 views)
2013-05-12 17:10:36

kutucuk (148 views)
2013-05-12 15:36:09

UnluckyDevil (158 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.096 seconds with 21 queries.