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/memory/AltHashing.java

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

package sun.jvm.hotspot.memory;

public class AltHashing {
    public static long murmur3_32(long seed, byte[] data) {
      long h1 = seed;
      int len = data.length;
      int count = len;

      int offset = 0;

      // body
      while (count >= 4) {
          long k1 = (data[offset] & 0x0FF)
              | (data[offset + 1] & 0x0FF) << 8
              | (data[offset + 2] & 0x0FF) << 16
              | data[offset + 3] << 24;

          count -= 4;
          offset += 4;

          k1 *= 0xcc9e2d51;
          k1 = Integer.rotateLeft((int)k1, 15);
          k1 *= 0x1b873593;
          k1 &= 0xFFFFFFFFL;

          h1 ^= k1;
          h1 = Integer.rotateLeft((int)h1, 13);
          h1 = h1 * 5 + 0xe6546b64;
          h1 &= 0xFFFFFFFFL;
      }

      //tail
      if (count > 0) {
          long k1 = 0;

          switch (count) {
              case 3:
                  k1 ^= (data[offset + 2] & 0xff) << 16;
                  // fall through
              case 2:
                  k1 ^= (data[offset + 1] & 0xff) << 8;
                  // fall through
              case 1:
                  k1 ^= (data[offset] & 0xff);
                  // fall through
              default:
                  k1 *= 0xcc9e2d51;
                  k1 = Integer.rotateLeft((int)k1, 15);
                  k1 *= 0x1b873593;
                  k1 &= 0xFFFFFFFFL;
                  h1 ^= k1;
                  h1 &= 0xFFFFFFFFL;
          }
      }

      // finalization
      h1 ^= len;

      // finalization mix force all bits of a hash block to avalanche
      h1 ^= h1 >> 16;
      h1 *= 0x85ebca6b;
      h1 &= 0xFFFFFFFFL;
      h1 ^= h1 >> 13;
      h1 *= 0xc2b2ae35;
      h1 &= 0xFFFFFFFFL;
      h1 ^= h1 >> 16;

      return h1 & 0xFFFFFFFFL;
  }
}

sun/jvm/hotspot/memory/AltHashing.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, 130315👍, 0💬