RFR: 8199728: Remove oopDesc::is_scavengable

Kim Barrett kim.barrett at oracle.com
Fri Mar 16 16:54:29 UTC 2018


> On Mar 16, 2018, at 10:29 AM, Stefan Karlsson <stefan.karlsson at oracle.com> wrote:
> 
> Hi all,
> 
> Please review this trivial patch to replace oopDesc::is_scavengable() usages with Universe::heap()->is_scavengable(...).
> 
> http://cr.openjdk.java.net/~stefank/8199728/webrev.01/
> 
> This helps break an include dependency between oop.inline.hpp and collectedHeap.inline.hpp. I'll remove the collectedHeap.inline.hpp include in a separate RFE, since doing that requires update to many header files that transitively included collectedHeap.inline.hpp and its include files.
> 
> Thanks,
> StefanK

Looks good.



More information about the hotspot-dev mailing list