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/asm/sparc/SPARCArgument.java

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

package sun.jvm.hotspot.asm.sparc;

import sun.jvm.hotspot.asm.*;
import sun.jvm.hotspot.utilities.*;

/** SPARCArgument is an abstraction used to represent an outgoing
    actual argument or an incoming formal parameter, whether it
    resides in memory or in a register, in a manner consistent with
    the SPARC Application Binary Interface, or ABI.  This is often
    referred to as the native or C calling convention. */

public class SPARCArgument {
  private int     number;
  private boolean isIn;

  // FIXME: add 64-bit stuff here (support for FP registers)

  /** Only 6 registers may contain integer parameters */
  public static final int NUM_REGISTER_PARAMETERS = 6;

  public SPARCArgument(int number, boolean isIn) {
    this.number = number;
    this.isIn   = isIn;
  }

  int     getNumber() { return number;     }
  boolean getIsIn()   { return isIn;       }
  boolean getIsOut()  { return !getIsIn(); }

  public SPARCArgument getSuccessor() { return new SPARCArgument(getNumber() + 1, getIsIn()); }
  public SPARCArgument asIn()         { return new SPARCArgument(getNumber(),     true);      }
  public SPARCArgument asOut()        { return new SPARCArgument(getNumber(),     false);     }

  /** Locating register-based arguments */
  public boolean isRegister()         { return number < NUM_REGISTER_PARAMETERS; }

  public SPARCRegister asRegister() {
    if (Assert.ASSERTS_ENABLED) {
      Assert.that(isRegister(), "must be a register argument");
    }
    return new SPARCRegister(getIsIn() ? SPARCRegisterType.IN : SPARCRegisterType.OUT, getNumber());
  }

  // locating memory-based arguments (FIXME: elided for now, will
  // necessitate creating new SPARCAddress class)
  //  public SPARCAddress asAddress() {
  //    if (Assert.ASSERTS_ENABLED) {
  //      Assert.that(!isRegister(), "must be a memory argument");
  //    }
  //    return addressInFrame();
  //  }
  //
  //  /** When applied to a register-based argument, give the corresponding address
  //      into the 6-word area "into which callee may store register arguments"
  //      (This is a different place than the corresponding register-save area location.)  */
  //  public SPARCAddress addressInFrame() const {
  //    return SPARCAddress( is_in()   ? Address::extra_in_argument
  //                          : Address::extra_out_argument,
  //                _number );
  //  }
}

sun/jvm/hotspot/asm/sparc/SPARCArgument.java

 

Or download all of them as a single archive file:

File name: jdk.hotspot.agent-11.0.1-src.zip
File size: 1243786 bytes
Release date: 2018-11-04
Download 

 

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, 101576👍, 0💬