- 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
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 { |
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() { |