Some sun.misc internal APIs are deprectaed in JDK 9 and will be encapsulated or removed in a future release.
case 'D': { long initValue = (value != null)? ((Number)value).longValue() : 0L; ByteBuffer b = perf.createLong(name, V_Variable, V_None, initValue); b.order(ByteOrder.nativeOrder()); counters.put(name, b);
case 'D': { long initValue = (value != null) ? ((Number) value).longValue() : 0L; ByteBuffer b = perf.createLong(name, V_Variable, V_None, initValue); b.order(ByteOrder.nativeOrder()); counters.put(name, b);
case 'D': { long initValue = (value != null) ? ((Number) value).longValue() : 0L; ByteBuffer b = perf.createLong(name, V_Variable, V_None, initValue); b.order(ByteOrder.nativeOrder()); counters.put(name, b);