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]
  ignore  |  Print  
  Beware of Java 7u4, 7u5, 7u6(rc), don't run it in production.  (Read 3179 times)
0 Members and 1 Guest are viewing this topic.
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 437
Projects: 4


Hand over your head.


« Posted 2012-06-21 16:11:38 »

Sensationalistic topic title is sensationalistic.

http://riven8192.blogspot.com/2012/06/hotspot-bug-in-java-7u4-7u5-7u6rc-with.html

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Projects: Revenge of the Titans, Titan Attacks, Droid Assault, and Ultratron
Offline nsigma

JGO Knight


Medals: 37



« Reply #1 - Posted 2012-06-21 16:18:20 »

Out of interest, what circumstances led you to find it - assuming you don't spend all day writing random String concatenation routines?  Wink

Offline Riven
« League of Dukes »

JGO Overlord


Medals: 437
Projects: 4


Hand over your head.


« Reply #2 - Posted 2012-06-21 16:23:34 »

I was rendering the 'fps' to the screen in LWJGL:
1  
String s = "Framerate: "+framerate+"fps";


I needed to benchmark the text-rendering performance, so I repeated the text:
1  
2  
3  
s = s + s;
s = s + s;
s = s + s;


After a few thousand frames, I saw this on the screen:
1  
"nullnullFramerate: 60fpsFramerate: 60fps"


and I was like >>> persecutioncomplex >>> Shocked >>> Grin

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Projects: Revenge of the Titans, Titan Attacks, Droid Assault, and Ultratron
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Roquen

JGO Ninja


Medals: 66



« Reply #3 - Posted 2012-06-21 16:59:23 »

Good find.  Did you fill a report?
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 437
Projects: 4


Hand over your head.


« Reply #4 - Posted 2012-06-21 17:11:57 »

Good find.  Did you fill a report?
yeah, but at the time (about a week ago) i didn't know that the bug was only triggered with the eclipse compiler. I just found out about that, so i investigated the differences between the bytecode of eclipse and javac. After modifying the sourcecode accordingly, i managed to get the output of javac to crash too. Unfortunately i cannot update my bugreport, so i will probably get a could-not-reproduce within a few weeks.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Projects: Revenge of the Titans, Titan Attacks, Droid Assault, and Ultratron
Online princec
« League of Dukes »

JGO Kernel


Medals: 194
Projects: 3


Eh? Who? What? ... Me?


« Reply #5 - Posted 2012-06-21 19:20:05 »

Hmm that is a pretty serious bug. Wonder why it hasn't already been spotted?

Cas Smiley

Offline Riven
« League of Dukes »

JGO Overlord


Medals: 437
Projects: 4


Hand over your head.


« Reply #6 - Posted 2012-06-21 19:28:43 »

Hmm that is a pretty serious bug. Wonder why it hasn't already been spotted?

Cas Smiley
the problem is triggered by the empty loop. It's rather uncommon to have that in your code, so my guess us that hotspot incorrently threats some operations as dead code.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Projects: Revenge of the Titans, Titan Attacks, Droid Assault, and Ultratron
Offline Roquen

JGO Ninja


Medals: 66



« Reply #7 - Posted 2012-06-21 23:09:52 »

If you were motivated you could always email the report to the hotspot developer mailing list.
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 437
Projects: 4


Hand over your head.


« Reply #8 - Posted 2012-06-21 23:42:53 »

If you were motivated you could always email the report to the hotspot developer mailing list.
Thanks for the suggestion. About an hour ago I received a similar PM from krausest, so I submitted the issue on the mailing list a few minutes ago Smiley

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Projects: Revenge of the Titans, Titan Attacks, Droid Assault, and Ultratron
Offline badlogicgames
« Reply #9 - Posted 2012-06-22 00:17:41 »

... threats ...

OMG, YOU MISSSPELLEDED A WORDZ!

http://www.badlogicgames.com - musings on Android and Java game development
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 437
Projects: 4


Hand over your head.


« Reply #10 - Posted 2012-06-22 00:31:08 »

That usually never happens, but when it does, it leaves a phrase.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Projects: Revenge of the Titans, Titan Attacks, Droid Assault, and Ultratron
Offline Spasi
« Reply #11 - Posted 2012-07-06 14:42:26 »

Looks like it's been fixed in jdk7u6 b17.
Offline ra4king

JGO Kernel


Medals: 264
Projects: 2


I'm the King!


« Reply #12 - Posted 2012-07-06 14:51:24 »

Whoa, look at all those bugs they're fixing, and there's more when you change the 'bXX' numbers! Those Java devs are working harder than I thought Tongue

Offline sproingie
« Reply #13 - Posted 2012-07-06 21:32:22 »

yeah it's almost like they pay people to work on it full-time or something ...
Offline gimbal

JGO Coder


Medals: 15



« Reply #14 - Posted 2012-07-09 10:22:43 »

yeah it's almost like they pay people to work on it full-time or something ...


Wouldn't surprise me if most of the fixes come from community soldiers though and not people actually under Oracle employment.
Pages: [1]
  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!
 
Browse for soundtracks for your game!

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 (33 views)
2013-05-17 21:29:12

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

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

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

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

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

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

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

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

UnluckyDevil (146 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.107 seconds with 21 queries.