ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Heath <doo...@brainfood.com>
Subject jdk7 feature that might be good for ofbiz
Date Wed, 03 Aug 2011 15:30:26 GMT
Area: HotSpot
Synopsis: In JDK 7, interned strings are no longer allocated in the
permanent generation of the Java heap, but are instead allocated in
the main part of the Java heap (known as the young and old
generations), along with the other objects created by the application.
This change will result in more data residing in the main Java heap,
and less data in the permanent generation, and thus may require heap
sizes to be adjusted. Most applications will see only relatively small
differences in heap usage due to this change, but larger applications
that load many classes or make heavy use of the String.intern() method
will see more significant differences.
RFE: 6962931

A few years back, I modified ofbiz to intern strings read from
entitymodel and servicemodel files.  According to the above new
feature, those strings where in permgen.  Also, as ofbiz has used more
and more groovy files, there are more and more classes loaded.  That
also implies a much larger permgen.

View raw message