Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 11 java.base.jmod - Base Module
JDK 11 java.base.jmod is the JMOD file for JDK 11 Base module.
JDK 11 Base module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.base.jmod.
JDK 11 Base module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Base module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\java.base.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ java/lang/ref/package-info.java
/* * Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ /** * Provides reference-object classes, which support a limited degree * of interaction with the garbage collector. A program may use a * reference object to maintain a reference to some other object in * such a way that the latter object may still be reclaimed by the * collector. A program may also arrange to be notified some time * after the collector has determined that the reachability of a given * object has changed. * *<h2>Package Specification</h2> * * A <em>reference object</em> encapsulates a reference to some other * object so that the reference itself may be examined and manipulated * like any other object. Three types of reference objects are * provided, each weaker than the last: <em>soft</em>, <em>weak</em>, * and <em>phantom</em>. Each type corresponds to a different level * of reachability, as defined below. Soft references are for * implementing memory-sensitive caches, weak references are for * implementing canonicalizing mappings that do not prevent their keys * (or values) from being reclaimed, and phantom references are for * scheduling post-mortem cleanup actions. * Post-mortem cleanup actions can be registered and managed by a * {@link java.lang.ref.Cleaner}. * * <p> Each reference-object type is implemented by a subclass of the * abstract base {@link java.lang.ref.Reference} class. * An instance of one of these subclasses encapsulates a single * reference to a particular object, called the <em>referent</em>. * Every reference object provides methods for getting and clearing * the reference. Aside from the clearing operation reference objects * are otherwise immutable, so no {@code set} operation is * provided. A program may further subclass these subclasses, adding * whatever fields and methods are required for its purposes, or it * may use these subclasses without change. * * <h3>Notification</h3> * * A program may request to be notified of changes in an object's * reachability by <em>registering</em> an appropriate reference * object with a <em>reference queue</em> at the time the reference * object is created. Some time after the garbage collector * determines that the reachability of the referent has changed to the * value corresponding to the type of the reference, it will clear the * reference and add it to the associated queue. At this point, the * reference is considered to be <em>enqueued</em>. The program may remove * references from a queue either by polling or by blocking until a * reference becomes available. Reference queues are implemented by * the {@link java.lang.ref.ReferenceQueue} class. * * <p> The relationship between a registered reference object and its * queue is one-sided. That is, a queue does not keep track of the * references that are registered with it. If a registered reference * becomes unreachable itself, then it will never be enqueued. It is * the responsibility of the program using reference objects to ensure * that the objects remain reachable for as long as the program is * interested in their referents. * * <p> While some programs will choose to dedicate a thread to * removing reference objects from one or more queues and processing * them, this is by no means necessary. A tactic that often works * well is to examine a reference queue in the course of performing * some other fairly-frequent action. For example, a hashtable that * uses weak references to implement weak keys could poll its * reference queue each time the table is accessed. This is how the * {@link java.util.WeakHashMap} class works. Because * the {@link java.lang.ref.ReferenceQueue#poll * ReferenceQueue.poll} method simply checks an internal data * structure, this check will add little overhead to the hashtable * access methods. * * <a id="reachability"></a> * <h3>Reachability</h3> * * Going from strongest to weakest, the different levels of * reachability reflect the life cycle of an object. They are * operationally defined as follows: * * <ul> * * <li> An object is <em>strongly reachable</em> if it can be reached * by some thread without traversing any reference objects. A * newly-created object is strongly reachable by the thread that * created it. * * <li> An object is <em>softly reachable</em> if it is not strongly * reachable but can be reached by traversing a soft reference. * * <li> An object is <em>weakly reachable</em> if it is neither * strongly nor softly reachable but can be reached by traversing a * weak reference. When the weak references to a weakly-reachable * object are cleared, the object becomes eligible for finalization. * * <li> An object is <em>phantom reachable</em> if it is neither * strongly, softly, nor weakly reachable, it has been finalized, and * some phantom reference refers to it. * * <li> Finally, an object is <em>unreachable</em>, and therefore * eligible for reclamation, when it is not reachable in any of the * above ways. * * </ul> * * @author Mark Reinhold * @since 1.2 */ package java.lang.ref;
⏎ java/lang/ref/package-info.java
Or download all of them as a single archive file:
File name: java.base-11.0.1-src.zip File size: 8740354 bytes Release date: 2018-11-04 Download
2020-05-29, 246049👍, 0💬
Popular Posts:
Apache BCEL Source Code Files are inside the Apache BCEL source package file like bcel-6.5.0-src.zip...
JasperReports, the world's most popular open source business intelligence and reporting engine and J...
MP3SPI is a Java Service Provider Interface that adds MP3 (MPEG 1/2/2.5 Layer 1/2/3) audio format su...
Where Can I see Java Source Code files for Xerces Java 2.11.2? Here are Java Source Code files for X...
How to download and install iText7-Core-7.1.4.zip? iText7-Core-7.1.4.zip is the binary package of iT...