RFR: JDK-8179259: Clean up BarrierSet

Roman Kennke rkennke at redhat.com
Tue Apr 25 10:55:37 UTC 2017


The BarrierSet class has lots of has_* and needs_* methods, none of
which is used anywhere, except (some) in asserts (which is bogus too),
and in one instance in a stub generator (which will be refactored to use
the same paradigm as elsewhere). Those methods clutter the BarrierSet
interface and need to be implemented in subclasses for no good reason.

http://cr.openjdk.java.net/~rkennke/JDK-8163329/webrev.00/

Tests: hotspot_gc, specjvm

I also filed a small number of minor GC-interface related
enhancement/refactoring bugs, all relatively isolated, all listed in the
GC interface JEP. Will propose them soon, unless somebody stops me ;-)

Oh, and maybe move the GC interface JEP to 'candidate' so that it gets a
valid number?

https://bugs.openjdk.java.net/browse/JDK-8163329

Roman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20170425/9fb4b8fe/signature.asc>


More information about the hotspot-gc-dev mailing list