- Hermes JS Engine
- In Hermes Ahead-Of-Time (AOT) compilation means the translation of JavaScript code to Herems byte code.
- Hermes has both, a single-threaded, generational, stop the world GC called GenGC and a concurrent GC called Hades which seems to be the default GC. Concurrent GC seems to be only implemented on 64-bit architectures (see Incremental Mode).
- Internally uses AsmJit to generate code. AsmJit currently supports 32-bit and 64-bit X86, AArch64, and AArch32 in a separate testing branch. The Hermes JIT itself currently only supports AArch64.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.lang.management.ManagementFactory; | |
import javax.management.MBeanAttributeInfo; | |
import javax.management.MBeanInfo; | |
import javax.management.MBeanServer; | |
import javax.management.ObjectName; | |
import com.sun.management.OperatingSystemMXBean; | |
public class InternalMBeans { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.lang.reflect.Method; | |
import java.net.URL; | |
import java.net.URLClassLoader; | |
public class ClassInit { | |
static final int CLASSLOADERS = Integer.getInteger("classloaders", 3); | |
static final int THREADS = Integer.getInteger("threads", 3); | |
static class MyClassLoader extends URLClassLoader { | |
public MyClassLoader() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.lang.reflect.InvocationTargetException; | |
import java.lang.reflect.Method; | |
import java.util.Collections; | |
import java.util.Optional; | |
import java.util.Set; | |
import java.util.concurrent.TimeUnit; | |
import java.util.function.Function; | |
import java.util.stream.Stream; | |
public class GetLineNumber { |
- No more Xmx! - Adaptable Heap Sizing for Containerized Java Applications
- JEP draft: Dynamic Max Memory Limit
- JEP 346: Promptly Return Unused Committed Memory from G1
- ZGC | Using -XX:SoftMaxHeapSize
- JDK-8238687: Investigate memory uncommit during young collections in G1
- In JDK-8238687 G1 will make committed heap more or less follow the GCTimeRatio. Which means that there may be throughput regressions due to keeping a smaller heap now...
- JDK-8247843: Reconsider G1 default GCTimeRatio value
- [JDK-8243672: Short term pause time ratio calculation in G1 off](https://bug
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
I hereby claim:
- I am simonis on github.
- I am volker_simonis (https://keybase.io/volker_simonis) on keybase.
- I have a public key ASAQhxnvMxWGbwpZWmMItsmRixt7OzHMAFdRt-p2W0KjPQo
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void foo() {} | |
struct A { | |
A() { | |
foo(); | |
} | |
}; | |
struct B { | |
B() { |