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

Dean Long dean.long at oracle.com
Thu Jun 21 18:50:33 PDT 2012


You end up setting the next pointer to NULL (unlink) and then 
immediately setting it to a new value, and the caller has to be careful 
to know about the shared flag.  What do you think about a move_entry() 
instead that hides the details from the caller?

dl

On 6/21/2012 12: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
>
>


More information about the hotspot-runtime-dev mailing list