Path: blob/aarch64-shenandoah-jdk8u272-b10/jdk/src/share/classes/sun/tracing/package-info.java
38829 views
/*1* Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation. Oracle designates this7* particular file as subject to the "Classpath" exception as provided8* by Oracle in the LICENSE file that accompanied this code.9*10* This code is distributed in the hope that it will be useful, but WITHOUT11* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or12* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License13* version 2 for more details (a copy is included in the LICENSE file that14* accompanied this code).15*16* You should have received a copy of the GNU General Public License version17* 2 along with this work; if not, write to the Free Software Foundation,18* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.19*20* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA21* or visit www.oracle.com if you need additional information or have any22* questions.23*/2425/**26* This package contains internal common code for implementing tracing27* frameworks, and defined a number of existing frameworks.28* <p>29* There are four tracing frameworks currently defined. The "Null" and30* "Multiplex" frameworks are used internally as part of the implementation.31* The "DTrace" framework is the prime consumer framework at the moment,32* while the "PrintStream" framework is a functional, but hidden, framework33* which can be used to track probe firings. All but the "DTrace" framework34* are defined in this package. The "DTrace" framework is implemented in the35* {@code sun.tracing.dtrace} package.36* <p>37* This package also contains the {@code ProviderSkeleton} class, which38* holds most of the common code needed for implementing frameworks.39* <p>40* The "Null" framework is used when there are no other active frameworks.41* It accomplishes absolutely nothing and is merely a placeholder so that42* the application can call the tracing routines without error.43* <p>44* The "Multiplex" framework is used when there are multiple active frameworks.45* It is initialized with the framework factories and create providers and46* probes that dispatch to each active framework in turn.47* <p>48* The "PrintStream" framework is currently a debugging framework which49* dispatches trace calls to a user-defined PrintStream class, defined by50* a property. It may some day be opened up to general use.51* <p>52* See the {@code sun.tracing.dtrace} and {@code com.sun.tracing.dtrace}53* packages for information on the "DTrace" framework.54*/5556package sun.tracing;575859