JDK 11 jdk.hotspot.agent.jmod - Hotspot Agent Module

JDK 11 jdk.hotspot.agent.jmod is the JMOD file for JDK 11 Hotspot Agent module.

JDK 11 Hotspot Agent module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.hotspot.agent.jmod.

JDK 11 Hotspot Agent module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.

JDK 11 Hotspot Agent module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\jdk.hotspot.agent.

You can click and view the content of each source code file in the list below.

✍: FYIcenter

sun/jvm/hotspot/oops/TypeStackSlotEntries.java

/*
 * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 */

package sun.jvm.hotspot.oops;

import java.io.*;
import java.util.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.runtime.*;
import sun.jvm.hotspot.types.*;
import sun.jvm.hotspot.utilities.*;

// Type entries used for arguments passed at a call and parameters on
// method entry. 2 cells per entry: one for the type encoded as in
// TypeEntries and one initialized with the stack slot where the
// profiled object is to be found so that the interpreter can locate
// it quickly.
public class TypeStackSlotEntries<K,M> extends TypeEntries<K,M> {
  static final int stackSlotEntry = 0;
  static final int typeEntry = 1;
  static final int perArgCellCount = 2;

  int stackSlotOffset(int i) {
    return baseOff + stackSlotLocalOffset(i);
  }

  final int numberOfEntries;

  int typeOffsetInCells(int i) {
    return baseOff + typeLocalOffset(i);
  }

  TypeStackSlotEntries(MethodDataInterface<K,M> methodData, ProfileData pd, int baseOff, int nbEntries) {
    super(methodData, pd, baseOff);
    numberOfEntries = nbEntries;
  }

  static int stackSlotLocalOffset(int i) {
    return i * perArgCellCount + stackSlotEntry;
  }

  static int typeLocalOffset(int i) {
    return i * perArgCellCount + typeEntry;
  }

  int stackSlot(int i) {
    return pd.uintAt(stackSlotOffset(i));
  }

  K type(int i) {
    return validKlass(typeOffsetInCells(i));
  }

  static int perArgCount() {
    return perArgCellCount;
  }

  int typeIndex(int i) {
    return typeOffsetInCells(i);
  }

  void printDataOn(PrintStream st) {
    for (int i = 0; i < numberOfEntries; i++) {
      pd.tab(st);
      st.print(i + ": stack(" + stackSlot(i)+ ") ");
      printKlass(st, typeOffsetInCells(i));
      st.println();
    }
  }
}

sun/jvm/hotspot/oops/TypeStackSlotEntries.java

 

JDK 11 jdk.httpserver.jmod - HTTP Server Module

JDK 11 jdk.editpad.jmod - Edit Pad Module

Download and Use JDK 11

⇑⇑ FAQ for JDK (Java Development Kit)

2020-02-29, 23260👍, 0💬