RFR(s): 8153330: deprecate Runtime.traceInstructions & traceMethodCalls for removal

Mandy Chung mandy.chung at oracle.com
Wed Apr 20 20:52:34 UTC 2016


> On Apr 19, 2016, at 3:11 PM, Stuart Marks <stuart.marks at oracle.com> wrote:
> 
> Hi all,
> 
> I missed a couple bits of cruft in the previous round of java.lang deprecations: the Runtime.traceInstructions() and traceMethodCalls() methods.
> 
> Their implementations are empty. That is, they do absolutely nothing.
> 
> They're only mentioned a couple times in the JDK, in CORBA (!) and in some RMI tests (!), and in a few symbol files. On grepcode.com, there are a couple uses, mainly attempting to enable these in response to some debugging flag being given.
> 
> Thus, I propose these be deprecated for removal. Please review diff below.

+1

Mandy


More information about the core-libs-dev mailing list