23 inscrits.
- 55 mergez et 55 saucisses de chez El Tayeb
# The following is based on a fresh Ubuntu 18.04.2 LTS with gcc, make and perl already | |
# installed (not that perl has anything to do with any of this..) | |
# | |
# This is based on JDK 11 but for JDK 12 I've confirmed it builds ok with binutils-2.29 | |
# and binutils-2.32 | |
apt install mercurial | |
# Be nice if this didn't check out the universe | |
hg clone http://hg.openjdk.java.net/jdk/jdk11/ | |
cd jdk11/src/utils/hsdis/ |
import io.vertx.core.Vertx; | |
import io.vertx.core.net.KeyCertOptions; | |
import javax.net.ssl.*; | |
import java.net.Socket; | |
import java.security.*; | |
import java.security.cert.X509Certificate; | |
public class DynamicCertOptions implements KeyCertOptions { |
import java.lang.instrument.Instrumentation; | |
import java.lang.reflect.Layer; | |
import java.lang.reflect.Module; | |
import java.util.*; | |
public class WeakeningAgent { | |
public static void premain(String argument, Instrumentation instrumentation) { | |
boolean full = argument != null && argument.equals("full"); | |
Set<Module> importing = new HashSet<>(), exporting = new HashSet<>(); |
The HTTP/2 protocol is the latest evolution of the HTTP protocol addressing the issue of HTTP/TCP impedance mismatch. Web applications have been working around this problem for years employing techniques like concatenation or css spriting to reduce page load time and improve user experience. HTTP/2 is also a game changer on the server enabling increased concurrency. This talk will focus on the impact HTTP/2 will have on the server and examine how particularly well adapted the Vert.x concurrency model is to serve HTTP/2 applications.
# You will need Mercurial; get it with `brew install hg`. | |
hg clone http://hg.openjdk.java.net/jdk8u/jdk8u | |
cd jdk8u | |
hg update jdk8u92-b14 | |
chmod +x ./get_source.sh; ./get_source.sh | |
cd hotspot/src/share/tools/hsdis | |
wget http://ftp.heanet.ie/mirrors/gnu/binutils/binutils-2.26.tar.gz | |
tar -xzf binutils-2.26.tar.gz | |
make BINUTILS=binutils-2.26 ARCH=amd64 |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "vertx/win10" | |
config.vm.box_url = "http://209.132.178.63/vagrant/Win10.box" | |
# big timeout since windows boot is very slow | |
config.vm.boot_timeout = 500 |
public static class SimpleEntityCodecFactoryTest { | |
private Map<@JSON Integer,Map<@Frozen Integer,@Enumerated(value = Enumerated.Encoding.NAME, test = "123") String>> map; | |
} | |
final TypeElement typeElement = elementUtils.getTypeElement(SimpleEntityCodecFactoryTest.class.getCanonicalName()); | |
final List<VariableElement> els = ElementFilter.fieldsIn(typeElement.getEnclosedElements()); | |
final VariableElement mapElt = els.stream().filter(x -> x.getSimpleName().contentEquals("map")).findFirst().get(); | |
final com.sun.tools.javac.util.List<Attribute.TypeCompound> typeAttributes = ((Symbol.VarSymbol) mapElt).getMetadata().getTypeAttributes(); |
plugins { | |
id 'java' | |
id 'eclipse' | |
id 'idea' | |
id 'com.github.johnrengelman.shadow' version '1.2.1' | |
} | |
repositories { | |
mavenLocal() | |
mavenCentral() |