RFR (M): 8220301: Remove jbyte use in CardTable (affects all platforms)

Thomas Schatzl thomas.schatzl at oracle.com
Wed Mar 13 11:28:09 UTC 2019


Hi Kim,

On Tue, 2019-03-12 at 16:58 -0400, Kim Barrett wrote:
> > On Mar 12, 2019, at 12:32 PM, Thomas Schatzl <
> > thomas.schatzl at oracle.com> wrote:
> > On Mon, 2019-03-11 at 15:29 -0400, Kim Barrett wrote:
> > > 
> > > I'm concerned about changing the signed-ness of card table
> > > entries.
> > > jbyte is signed.  There may be code that expects or assumes
> > > signed
> > > values.  One place of particular concern would be assembly code
> > > generators, where we might be generating sign-extending loads.
> > > 
> > > Note that I didn't actually spot any signed-ness problems, but
> > > they
> > > would be easy to miss.
> > 
> > I haven't spotted anything either.
> 
> I spent some more time looking for and not finding any.  And tests
> are passing, so I guess I’ll stop worrying.
> 
> > http://cr.openjdk.java.net/~tschatzl/8220301/webrev.1_to_2/ (diff)
> > http://cr.openjdk.java.net/~tschatzl/8220301/webrev.2/ (full)
> > 
> > webrevs.
> > 
> > Thanks,
> >  Thomas
> 
> Looks good.
> 

  thanks for your review.

Assuming that Aleksey is okay with the changes (there were no
substantial ones functionality-wise) I will push today then so that we
will see issues before weekend. If it slips for any reason, I will wait
until Monday.

Thomas




More information about the hotspot-dev mailing list