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:
JRE 8 rt.jar - com.* Package Source Code
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime environment included in JDK 8. JRE 8 rt.jar libraries are divided into 6 packages:
com.* - Internal Oracle and Sun Microsystems libraries java.* - Standard Java API libraries. javax.* - Extended Java API libraries. jdk.* - JDK supporting libraries. org.* - Third party libraries. sun.* - Old libraries developed by Sun Microsystems.
JAR File Information:
Directory of C:\fyicenter\jdk-1.8.0_191\jre\lib 63,596,151 rt.jar
Here is the list of Java classes of the com.* package in JRE 1.8.0_191 rt.jar. Java source codes are also provided.
✍: FYIcenter
⏎ com/sun/corba/se/impl/interceptors/SlotTableStack.java
/* * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.corba.se.impl.interceptors; import org.omg.CORBA.CompletionStatus; import org.omg.CORBA.INTERNAL; import org.omg.PortableInterceptor.Current; import org.omg.PortableInterceptor.InvalidSlot; import com.sun.corba.se.impl.corba.AnyImpl; import com.sun.corba.se.impl.logging.InterceptorsSystemException; import com.sun.corba.se.spi.logging.CORBALogDomains; import com.sun.corba.se.spi.orb.ORB; /** * SlotTableStack is the container of SlotTable instances for each thread */ public class SlotTableStack { // SlotTablePool is the container for reusable SlotTables' private class SlotTablePool { // Contains a list of reusable SlotTable private SlotTable[] pool; // High water mark for the pool // If the pool size reaches this limit then putSlotTable will // not put SlotTable to the pool. private final int HIGH_WATER_MARK = 5; // currentIndex points to the last SlotTable in the list private int currentIndex; SlotTablePool( ) { pool = new SlotTable[HIGH_WATER_MARK]; currentIndex = 0; } /** * Puts SlotTable to the re-usable pool. */ void putSlotTable( SlotTable table ) { // If there are enough SlotTables in the pool, then don't add // this table to the pool. if( currentIndex >= HIGH_WATER_MARK ) { // Let the garbage collector collect it. return; } pool[currentIndex] = table; currentIndex++; } /** * Gets SlotTable from the re-usable pool. */ SlotTable getSlotTable( ) { // If there are no entries in the pool then return null if( currentIndex == 0 ) { return null; } // Works like a stack, Gets the last one added first currentIndex--; return pool[currentIndex]; } } // Contains all the active SlotTables for each thread. // The List is made to behave like a stack. private java.util.List tableContainer; // Keeps track of number of PICurrents in the stack. private int currentIndex; // For Every Thread there will be a pool of re-usable SlotTables' // stored in SlotTablePool private SlotTablePool tablePool; // The ORB associated with this slot table stack private ORB orb; private InterceptorsSystemException wrapper ; /** * Constructs the stack and and SlotTablePool */ SlotTableStack( ORB orb, SlotTable table ) { this.orb = orb; wrapper = InterceptorsSystemException.get( orb, CORBALogDomains.RPC_PROTOCOL ) ; currentIndex = 0; tableContainer = new java.util.ArrayList( ); tablePool = new SlotTablePool( ); // SlotTableStack will be created with one SlotTable on the stack. // This table is used as the reference to query for number of // allocated slots to create other slottables. tableContainer.add( currentIndex, table ); currentIndex++; } /** * pushSlotTable pushes a fresh Slot Table on to the stack by doing the * following, * 1: Checks to see if there is any SlotTable in SlotTablePool * If present then use that instance to push into the SlotTableStack * * 2: If there is no SlotTable in the pool, then creates a new one and * pushes that into the SlotTableStack */ void pushSlotTable( ) { SlotTable table = tablePool.getSlotTable( ); if( table == null ) { // get an existing PICurrent to get the slotSize SlotTable tableTemp = peekSlotTable(); table = new SlotTable( orb, tableTemp.getSize( )); } // NOTE: Very important not to always "add" - otherwise a memory leak. if (currentIndex == tableContainer.size()) { // Add will cause the table to grow. tableContainer.add( currentIndex, table ); } else if (currentIndex > tableContainer.size()) { throw wrapper.slotTableInvariant( new Integer( currentIndex ), new Integer( tableContainer.size() ) ) ; } else { // Set will override unused slots. tableContainer.set( currentIndex, table ); } currentIndex++; } /** * popSlotTable does the following * 1: pops the top SlotTable in the SlotTableStack * * 2: resets the slots in the SlotTable which resets the slotvalues to * null if there are any previous sets. * * 3: puts the reset SlotTable into the SlotTablePool to reuse */ void popSlotTable( ) { if( currentIndex <= 1 ) { // Do not pop the SlotTable, If there is only one. // This should not happen, But an extra check for safety. throw wrapper.cantPopOnlyPicurrent() ; } currentIndex--; SlotTable table = (SlotTable)tableContainer.get( currentIndex ); tableContainer.set( currentIndex, null ); // Do not leak memory. table.resetSlots( ); tablePool.putSlotTable( table ); } /** * peekSlotTable gets the top SlotTable from the SlotTableStack without * popping. */ SlotTable peekSlotTable( ) { return (SlotTable) tableContainer.get( currentIndex - 1); } } // End of file.
⏎ com/sun/corba/se/impl/interceptors/SlotTableStack.java
Or download all of them as a single archive file:
File name: jre-rt-com-1.8.0_191-src.zip File size: 8099783 bytes Release date: 2018-10-28 Download
⇒ Backup JDK 8 Installation Directory
2023-02-07, 250692👍, 3💬
Popular Posts:
The Java Naming and Directory Interface (JNDI) is part of the Java platform, providing applications ...
Apache Avalon began in 1999 as the Java Apache Server Framework and in late 2002 separated from the ...
What Is jsse.jar (JDK 6) Java Secure Socket Extension? jsse.jar, Java Secure Socket Extension, is Ja...
How to run "jarsigner" command from JDK tools.jar file? "jarsigner" command allows you to digitally ...
JDK 11 jdk.internal.vm.compiler .jmodis the JMOD file for JDK 11 Internal VM Compiler module. JDK 11...