Please review 7178670: runtime/7158800/BadUtf8.java fails in SymbolTable::rehash_table

Daniel D. Daugherty daniel.daugherty at oracle.com
Thu Jun 21 16:12:24 PDT 2012


On 6/21/12 1:25 PM, Coleen Phillimore wrote:
> Summary: Cannot delete _buckets and HashtableEntries in shared space 
> (CDS)
>
> Tested with the tests that I added using Class Data Sharing (on and 
> off).  This is both a patch for 7u6 and main.
>
> open webrev at http://cr.openjdk.java.net/~coleenp/hashmap_cds/
> open webrev at http://cr.openjdk.java.net/~coleenp/hashmap_7u6_cds/
>
> Thanks,
> Coleen

Both versions look good.

The reason for the changes to move_to() weren't initially clear.
Once I realized that the shared state setting was encoded in the
internal _next field, then I realized why unlink_entry() could
mess up the "shared state".

Dan


More information about the hotspot-runtime-dev mailing list