RFR: 8255562: delete UseRDPCForConstantTableBase

Xin Liu xliu at openjdk.java.net
Fri Oct 30 14:57:55 UTC 2020


On Fri, 30 Oct 2020 08:47:00 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

>> UseRDPCForConstantTableBase was a SPARC-exclusive flag. Sparc has been removed 
>> from hotspot, so remove this flag.
>
> src/hotspot/share/opto/machnode.hpp line 437:
> 
>> 435:   virtual void emit(CodeBuffer& cbuf, PhaseRegAlloc* ra_) const;
>> 436:   virtual uint size(PhaseRegAlloc* ra_) const;
>> 437:   virtual bool pinned() const { return false; }
> 
> The method can be removed because `Node::pinned` returns false.

thank you to the head-up.  
confirmed that MachConstandBaseNode uses Node::pinned() const {return false; }, so it's safe to remove it. 

I will update it in next revision along with the obsolete flag.

-------------

PR: https://git.openjdk.java.net/jdk/pull/949


More information about the hotspot-compiler-dev mailing list