RFR (S): 8131734: Add free_archive_regions support to G1 for -Xshared:auto

Tom Benson tom.benson at oracle.com
Fri Aug 7 14:56:32 UTC 2015


On 8/7/2015 9:52 AM, Tom Benson wrote:
> Hi,
> On 8/6/2015 8:40 PM, Jiangli Zhou wrote:
>> Hi Dmitry,
>> I’ve added shared string unmapping to handle the string data 
>> verification failure. I also added 'free_archive_regions()’ call to 
>> FileMapInfo::unmap_string_regions(). My testing revealed some issues 
>> with the new archive region free code when I forced string 
>> verification failure. I’m working with Tom on the issues.

The problem is simply that in addition to calling free_archive_regions, 
FileMapInfo::unmap_string_regions also unmaps the memory.... so there's 
a segv when GC tries to re-use it. Let's talk directly about the best 
way to handle it.

More information about the hotspot-gc-dev mailing list