[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Java 7 compatibility (G1 crashes when using trove)  XML
Forum Index -> General
Author Message
shortmem

journeyman

Joined: 12/12/2011 07:59:13
Messages: 17
Offline

Hello, I just checked that terracotta 3.7.3 officially supports java 7 update 7!!!

I'm currently running both my app servers and terracotta 3.7.2 with update 10. Both run without problems as long as I don't use the G1 collector.

It seems that there's a G1 bug with jitted code of trove library (I tried 3.0.0 to 3.0.3). Someone else has alredy suffered from it:

G1 BUG

I tried to fill a bug report but oracle's bug database is not working and they'd probably would leave as low priority.

I didn't actually see TC crashing when using G1 collector, just my application code every time a tight-loop calls put on TObjectIntHashMap.

The bug is very easy to reproduce in a standalone test case, just create four or so Threads (each with it's own private map), calling map.put for about 1 million times.

I'm sharing this because on TC 3.7.3 release notes there are no warnings about possible erratic G1 behavior and TC seems to make use of trove internally.
rajoshi

seraphim

Joined: 07/04/2011 04:36:10
Messages: 1491
Offline

Can you please raise a community JIRA for this here:
https://jira.terracotta.org/jira/browse


Rakesh Joshi
Senior Consultant
Terracotta.
shortmem

journeyman

Joined: 12/12/2011 07:59:13
Messages: 17
Offline

rajoshi wrote:
Can you please raise a community JIRA for this here:
https://jira.terracotta.org/jira/browse

 


Jira raised: https://jira.terracotta.org/jira/browse/CDV-1651
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.7 © JForum Team