Skip to content

Commit

Permalink
Weird changes to make tests not crash on Java 11 and 17.
Browse files Browse the repository at this point in the history
---------------  S U M M A R Y ------------

Command Line:
-javaagent:/Users/garydgregory/.m2/repository/org/jacoco/org.jacoco.agent/0.8.7/org.jacoco.agent-0.8.7-runtime.jar=destfile=/Users/garydgregory/git/commons-crypto/target/jacoco.exec,excludes=**/examples/*
/Users/garydgregory/git/commons-crypto/target/surefire/surefirebooter12536148169919965584.jar
/Users/garydgregory/git/commons-crypto/target/surefire
2022-03-19T11-21-45_980-jvmRun1 surefire10708652611926790122tmp
surefire_014427725471102985165tmp

Host: "Macmini8,1" x86_64 3600 MHz, 4 cores, 8G, Darwin 21.4.0, macOS
12.3 (21E230)
Time: Sat Mar 19 11:21:53 2022 EDT elapsed time: 7.462552 seconds (0d 0h
0m 7s)

---------------  T H R E A D  ---------------

Current thread (0x00007fa3f2008800):  JavaThread "main"
[_thread_in_native, id=6147,
stack(0x0000700001f31000,0x0000700002031000)]

Stack: [0x0000700001f31000,0x0000700002031000],  sp=0x000070000202d338,
free space=1008k
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.apache.commons.crypto.random.OpenSslCryptoRandomNative.nextRandBytes([B)Z+0
j  org.apache.commons.crypto.random.OpenSslCryptoRandom.<init>(Ljava/util/Properties;)V+58
v  ~StubRoutines::call_stub
J 2435  jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;
java.base@17.0.2 (0 bytes) @ 0x00000001164e46ab
[0x00000001164e4640+0x000000000000006b]
J 2434 c1 jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;
java.base@17.0.2 (122 bytes) @ 0x000000010f360a04
[0x000000010f360700+0x0000000000000304]
J 2102 c1 jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;
java.base@17.0.2 (9 bytes) @ 0x000000010f2b7a24
[0x000000010f2b79c0+0x0000000000000064]
J 2093 c1 java.lang.reflect.Constructor.newInstanceWithCaller([Ljava/lang/Object;ZLjava/lang/Class;)Ljava/lang/Object;
java.base@17.0.2 (75 bytes) @ 0x000000010f2b4f5c
[0x000000010f2b4e60+0x00000000000000fc]
J 2727 c1 org.apache.commons.crypto.utils.ReflectionUtils.newInstance(Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
(133 bytes) @ 0x000000010f3f6df4 [0x000000010f3f6980+0x0000000000000474]
j  org.apache.commons.crypto.random.CryptoRandomFactory.getCryptoRandom(Ljava/util/Properties;)Lorg/apache/commons/crypto/random/CryptoRandom;+134
j  org.apache.commons.crypto.random.OpenSslCryptoRandomTest.getCryptoRandom()Lorg/apache/commons/crypto/random/CryptoRandom;+47
j  org.apache.commons.crypto.random.AbstractRandomTest.testRandomBytes()V+5
v  ~StubRoutines::call_stub
j  jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
java.base@17.0.2
j  jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+133
java.base@17.0.2
j  jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
java.base@17.0.2
J 2559 c1 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
java.base@17.0.2 (65 bytes) @ 0x000000010f3a0204
[0x000000010f3a00e0+0x0000000000000124]
j  org.junit.platform.commons.util.ReflectionUtils.invokeMethod(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+85
j  org.junit.jupiter.engine.execution.MethodInvocation.proceed()Ljava/lang/Object;+20
j  org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed()Ljava/lang/Object;+16
j  org.junit.jupiter.engine.extension.TimeoutInvocation.proceed()Ljava/lang/Object;+58
j  org.junit.jupiter.engine.extension.TimeoutExtension.intercept(Lorg/junit/jupiter/api/extension/InvocationInterceptor$Invocation;Lorg/junit/jupiter/api/extension/ReflectiveInvocationContext;Lorg/junit/jupiter/api/extension/ExtensionContext;Lorg/junit/jupiter/engine/extension/TimeoutDuration;Lorg/junit/jupiter/engine/extension/TimeoutExtension$TimeoutProvider;)Ljava/lang/Object;+51
j  org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(Lorg/junit/jupiter/api/extension/InvocationInterceptor$Invocation;Lorg/junit/jupiter/api/extension/ReflectiveInvocationContext;Lorg/junit/jupiter/api/extension/ExtensionContext;Lorg/junit/jupiter/engine/extension/TimeoutExtension$TimeoutProvider;)Ljava/lang/Object;+42
j  org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(Lorg/junit/jupiter/api/extension/InvocationInterceptor$Invocation;Lorg/junit/jupiter/api/extension/ReflectiveInvocationContext;Lorg/junit/jupiter/api/extension/ExtensionContext;)V+14
j  org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor$$Lambda$169+0x0000000800c97568.apply(Lorg/junit/jupiter/api/extension/InvocationInterceptor;Lorg/junit/jupiter/api/extension/InvocationInterceptor$Invocation;Lorg/junit/jupiter/api/extension/ReflectiveInvocationContext;Lorg/junit/jupiter/api/extension/ExtensionContext;)V+5
j  org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(Lorg/junit/jupiter/engine/execution/ExecutableInvoker$ReflectiveInterceptorCall$VoidMethodInterceptorCall;Lorg/junit/jupiter/api/extension/InvocationInterceptor;Lorg/junit/jupiter/api/extension/InvocationInterceptor$Invocation;Lorg/junit/jupiter/api/extension/ReflectiveInvocationContext;Lorg/junit/jupiter/api/extension/ExtensionContext;)Ljava/lang/Void;+11
j  org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall$$Lambda$170+0x0000000800c97988.apply(Lorg/junit/jupiter/api/extension/InvocationInterceptor;Lorg/junit/jupiter/api/extension/InvocationInterceptor$Invocation;Lorg/junit/jupiter/api/extension/ReflectiveInvocationContext;Lorg/junit/jupiter/api/extension/ExtensionContext;)Ljava/lang/Object;+9
j  org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(Lorg/junit/jupiter/engine/execution/ExecutableInvoker$ReflectiveInterceptorCall;Lorg/junit/jupiter/api/extension/ReflectiveInvocationContext;Lorg/junit/jupiter/api/extension/ExtensionContext;Lorg/junit/jupiter/api/extension/InvocationInterceptor;Lorg/junit/jupiter/api/extension/InvocationInterceptor$Invocation;)Ljava/lang/Object;+11
j  org.junit.jupiter.engine.execution.ExecutableInvoker$$Lambda$326+0x0000000800d066a8.apply(Lorg/junit/jupiter/api/extension/InvocationInterceptor;Lorg/junit/jupiter/api/extension/InvocationInterceptor$Invocation;)Ljava/lang/Object;+14
j  org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed()Ljava/lang/Object;+16
j  org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(Lorg/junit/jupiter/api/extension/InvocationInterceptor$Invocation;)Ljava/lang/Object;+5
j  org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(Lorg/junit/jupiter/api/extension/InvocationInterceptor$Invocation;Lorg/junit/jupiter/engine/execution/InvocationInterceptorChain$InterceptorCall;Ljava/util/List;)Ljava/lang/Object;+40
j  org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(Lorg/junit/jupiter/api/extension/InvocationInterceptor$Invocation;Lorg/junit/jupiter/engine/extension/ExtensionRegistry;Lorg/junit/jupiter/engine/execution/InvocationInterceptorChain$InterceptorCall;)Ljava/lang/Object;+51
J 3386 c1 org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(Lorg/junit/jupiter/api/extension/InvocationInterceptor$Invocation;Lorg/junit/jupiter/api/extension/ReflectiveInvocationContext;Lorg/junit/jupiter/api/extension/ExtensionContext;Lorg/junit/jupiter/engine/extension/ExtensionRegistry;Lorg/junit/jupiter/engine/execution/ExecutableInvoker$ReflectiveInterceptorCall;)Ljava/lang/Object;
(30 bytes) @ 0x000000010f51a554 [0x000000010f51a3e0+0x0000000000000174]
j  org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;Lorg/junit/jupiter/api/extension/ExtensionContext;Lorg/junit/jupiter/engine/extension/ExtensionRegistry;Lorg/junit/jupiter/engine/execution/ExecutableInvoker$ReflectiveInterceptorCall;)Ljava/lang/Object;+89
j  org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(Lorg/junit/jupiter/api/extension/ExtensionContext;Lorg/junit/jupiter/engine/execution/JupiterEngineExecutionContext;)V+44
j  org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor$$Lambda$343+0x0000000800d0da28.execute()V+12
J 2861 c1 org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(Lorg/junit/platform/engine/support/hierarchical/ThrowableCollector$Executable;)V
(45 bytes) @ 0x000000010f435964 [0x000000010f4358e0+0x0000000000000084]
j  org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(Lorg/junit/jupiter/engine/execution/JupiterEngineExecutionContext;Lorg/junit/platform/engine/support/hierarchical/Node$DynamicTestExecutor;)V+37
j  org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(Lorg/junit/jupiter/engine/execution/JupiterEngineExecutionContext;Lorg/junit/platform/engine/support/hierarchical/Node$DynamicTestExecutor;)Lorg/junit/jupiter/engine/execution/JupiterEngineExecutionContext;+111
j  org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(Lorg/junit/platform/engine/support/hierarchical/EngineExecutionContext;Lorg/junit/platform/engine/support/hierarchical/Node$DynamicTestExecutor;)Lorg/junit/platform/engine/support/hierarchical/EngineExecutionContext;+10
j  org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6()V+108
j  org.junit.platform.engine.support.hierarchical.NodeTestTask$$Lambda$269+0x0000000800cbae58.execute()V+4
J 2861 c1 org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(Lorg/junit/platform/engine/support/hierarchical/ThrowableCollector$Executable;)V
(45 bytes) @ 0x000000010f435964 [0x000000010f4358e0+0x0000000000000084]
j  org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(Lorg/junit/platform/engine/support/hierarchical/EngineExecutionContext;)V+24
j  org.junit.platform.engine.support.hierarchical.NodeTestTask$$Lambda$268+0x0000000800cbac30.invoke(Lorg/junit/platform/engine/support/hierarchical/EngineExecutionContext;)V+5
j  org.junit.platform.engine.support.hierarchical.Node.around(Lorg/junit/platform/engine/support/hierarchical/EngineExecutionContext;Lorg/junit/platform/engine/support/hierarchical/Node$Invocation;)V+6
j  org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9()V+18
j  org.junit.platform.engine.support.hierarchical.NodeTestTask$$Lambda$267+0x0000000800cba808.execute()V+4
J 2861 c1 org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(Lorg/junit/platform/engine/support/hierarchical/ThrowableCollector$Executable;)V
(45 bytes) @ 0x000000010f435964 [0x000000010f4358e0+0x0000000000000084]
j  org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively()V+40
j  org.junit.platform.engine.support.hierarchical.NodeTestTask.execute()V+108
j  org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService$$Lambda$273+0x0000000800cbb970.accept(Ljava/lang/Object;)V+4
J 2715 c1 java.util.ArrayList.forEach(Ljava/util/function/Consumer;)V
java.base@17.0.2 (74 bytes) @ 0x000000010f3f3c2c
[0x000000010f3f3b60+0x00000000000000cc]
j  org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(Ljava/util/List;)V+10
j  org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6()V+168
j  org.junit.platform.engine.support.hierarchical.NodeTestTask$$Lambda$269+0x0000000800cbae58.execute()V+4
J 2861 c1 org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(Lorg/junit/platform/engine/support/hierarchical/ThrowableCollector$Executable;)V
(45 bytes) @ 0x000000010f435964 [0x000000010f4358e0+0x0000000000000084]
j  org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(Lorg/junit/platform/engine/support/hierarchical/EngineExecutionContext;)V+24
j  org.junit.platform.engine.support.hierarchical.NodeTestTask$$Lambda$268+0x0000000800cbac30.invoke(Lorg/junit/platform/engine/support/hierarchical/EngineExecutionContext;)V+5
j  org.junit.platform.engine.support.hierarchical.Node.around(Lorg/junit/platform/engine/support/hierarchical/EngineExecutionContext;Lorg/junit/platform/engine/support/hierarchical/Node$Invocation;)V+6
j  org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9()V+18
j  org.junit.platform.engine.support.hierarchical.NodeTestTask$$Lambda$267+0x0000000800cba808.execute()V+4
J 2861 c1 org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(Lorg/junit/platform/engine/support/hierarchical/ThrowableCollector$Executable;)V
(45 bytes) @ 0x000000010f435964 [0x000000010f4358e0+0x0000000000000084]
j  org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively()V+40
j  org.junit.platform.engine.support.hierarchical.NodeTestTask.execute()V+108
j  org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService$$Lambda$273+0x0000000800cbb970.accept(Ljava/lang/Object;)V+4
j  java.util.ArrayList.forEach(Ljava/util/function/Consumer;)V+46
java.base@17.0.2
j  org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(Ljava/util/List;)V+10
j  org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6()V+168
j  org.junit.platform.engine.support.hierarchical.NodeTestTask$$Lambda$269+0x0000000800cbae58.execute()V+4
j  org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(Lorg/junit/platform/engine/support/hierarchical/ThrowableCollector$Executable;)V+5
j  org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(Lorg/junit/platform/engine/support/hierarchical/EngineExecutionContext;)V+24
j  org.junit.platform.engine.support.hierarchical.NodeTestTask$$Lambda$268+0x0000000800cbac30.invoke(Lorg/junit/platform/engine/support/hierarchical/EngineExecutionContext;)V+5
j  org.junit.platform.engine.support.hierarchical.Node.around(Lorg/junit/platform/engine/support/hierarchical/EngineExecutionContext;Lorg/junit/platform/engine/support/hierarchical/Node$Invocation;)V+6
j  org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9()V+18
j  org.junit.platform.engine.support.hierarchical.NodeTestTask$$Lambda$267+0x0000000800cba808.execute()V+4
j  org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(Lorg/junit/platform/engine/support/hierarchical/ThrowableCollector$Executable;)V+5
j  org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively()V+40
j  org.junit.platform.engine.support.hierarchical.NodeTestTask.execute()V+108
j  org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(Lorg/junit/platform/engine/support/hierarchical/HierarchicalTestExecutorService$TestTask;)Ljava/util/concurrent/Future;+5
j  org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute()Ljava/util/concurrent/Future;+105
j  org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(Lorg/junit/platform/engine/ExecutionRequest;)V+53
j  org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(Lorg/junit/platform/engine/TestDescriptor;Lorg/junit/platform/engine/EngineExecutionListener;Lorg/junit/platform/engine/ConfigurationParameters;Lorg/junit/platform/engine/TestEngine;)V+35
j  org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(Lorg/junit/platform/launcher/core/LauncherDiscoveryResult;Lorg/junit/platform/engine/EngineExecutionListener;)V+123
j  org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(Lorg/junit/platform/launcher/core/InternalTestPlan;Lorg/junit/platform/launcher/core/LauncherDiscoveryResult;Lorg/junit/platform/launcher/TestExecutionListener;)V+29
j  org.junit.platform.launcher.core.EngineExecutionOrchestrator$$Lambda$225+0x0000000800cad740.accept(Ljava/lang/Object;)V+16
j  org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(Lorg/junit/platform/engine/ConfigurationParameters;Lorg/junit/platform/launcher/core/ListenerRegistry;Ljava/util/function/Consumer;)V+80
j  org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(Lorg/junit/platform/launcher/core/InternalTestPlan;[Lorg/junit/platform/launcher/TestExecutionListener;)V+58
j  org.junit.platform.launcher.core.DefaultLauncher.execute(Lorg/junit/platform/launcher/core/InternalTestPlan;[Lorg/junit/platform/launcher/TestExecutionListener;)V+10
j  org.junit.platform.launcher.core.DefaultLauncher.execute(Lorg/junit/platform/launcher/LauncherDiscoveryRequest;[Lorg/junit/platform/launcher/TestExecutionListener;)V+53
j  org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(Lorg/junit/platform/launcher/LauncherDiscoveryRequest;[Lorg/junit/platform/launcher/TestExecutionListener;)V+10
j  org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(Lorg/junit/platform/launcher/LauncherDiscoveryRequest;[Lorg/junit/platform/launcher/TestExecutionListener;)V+24
j  org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(Lorg/apache/maven/surefire/api/util/TestsToRun;Lorg/apache/maven/surefire/junitplatform/RunListenerAdapter;)V+117
j  org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(Lorg/apache/maven/surefire/api/util/TestsToRun;Lorg/apache/maven/surefire/api/report/RunListener;)V+23
j  org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(Ljava/lang/Object;)Lorg/apache/maven/surefire/api/suite/RunResult;+119
j  org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess()V+16
j  org.apache.maven.surefire.booter.ForkedBooter.execute()V+5
j  org.apache.maven.surefire.booter.ForkedBooter.run(Lorg/apache/maven/surefire/booter/ForkedBooter;[Ljava/lang/String;)V+49
j  org.apache.maven.surefire.booter.ForkedBooter.main([Ljava/lang/String;)V+20
v  ~StubRoutines::call_stub

siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr:
0x0000000000000000

Register to memory mapping:

RAX=0x0000000000000001 is an unknown value
RBX=0x00007fa3f2008aa8 points into unknown readable memory:
0x00000001066b6bc8 | c8 6b 6b 06 01 00 00 00
RCX=0x00006000010440e8 points into unknown readable memory:
0x0000000000000000 | 00 00 00 00 00 00 00 00
RDX=0x0 is NULL
RSP=0x000070000202d338 is pointing into the stack for thread:
0x00007fa3f2008800
RBP=0x000070000202d360 is pointing into the stack for thread:
0x00007fa3f2008800
RSI=0x0000000000000001 is an unknown value
RDI=0x0000600002dd9530 points into unknown readable memory:
0x0000000000000000 | 00 00 00 00 00 00 00 00
R8 =0x0 is NULL
R9 =0x0 is NULL
R10=0x000000010e99d50b is at code_begin+843 in an Interpreter codelet
method entry point (kind = native)  [0x000000010e99d1c0,
0x000000010e99da20]  2144 bytes
R11=0x00005ff87c939bd0 is an unknown value
R12=0x0 is NULL
R13={method} {0x000000012689b418} 'nextRandBytes' '([B)Z' in
'org/apache/commons/crypto/random/OpenSslCryptoRandomNative'
R14=0x000070000202d3e8 is pointing into the stack for thread:
0x00007fa3f2008800
R15=0x0000600002dd9530 points into unknown readable memory:
0x0000000000000000 | 00 00 00 00 00 00 00 00

Registers:
RAX=0x0000000000000001, RBX=0x00007fa3f2008aa8, RCX=0x00006000010440e8,
RDX=0x0000000000000000
RSP=0x000070000202d338, RBP=0x000070000202d360, RSI=0x0000000000000001,
RDI=0x0000600002dd9530
R8 =0x0000000000000000, R9 =0x0000000000000000, R10=0x000000010e99d50b,
R11=0x00005ff87c939bd0
R12=0x0000000000000000, R13=0x000000012689b418, R14=0x000070000202d3e8,
R15=0x0000600002dd9530
RIP=0x0000000000000000, EFLAGS=0x0000000000010202,
ERR=0x0000000000000014
  TRAPNO=0x000000000000000e

Top of Stack: (sp=0x000070000202d338)
0x000070000202d338:   00000001059c050d 000000012689b418
0x000070000202d348:   0000000000000000 000070000202d3e8
0x000070000202d358:   00007fa3f2008800 000070000202d3c8
0x000070000202d368:   000000010e99d53a 000070000202d3a0
0x000070000202d378:   000000010e99d276 000070000202d380
0x000070000202d388:   000000012689b418 000070000202d3e8
0x000070000202d398:   000000012689b550 0000000000000000
0x000070000202d3a8:   00000007835342a0 000000012689b418
0x000070000202d3b8:   0000000000000000 000070000202d3e8
0x000070000202d3c8:   000070000202d438 000000010e999317
0x000070000202d3d8:   00000007835342a0 000000010e99af60
0x000070000202d3e8:   000000078649f950 000070000202d3f0
0x000070000202d3f8:   0000000126898c62 000070000202d458
0x000070000202d408:   000000012689ad38 0000000000000000
0x000070000202d418:   0000000783534078 0000000126898cb0
0x000070000202d428:   000070000202d3e8 000070000202d450
0x000070000202d438:   000070000202d4c0 000000010e990cc9
0x000070000202d448:   0000000783534498 000000078649f5b8
0x000070000202d458:   000000078649f918 0000700000001fa1
0x000070000202d468:   00007fa3f2008800 000070000202d5e0
0x000070000202d478:   000070000202d5e8 000070000202d6c8
0x000070000202d488:   0000000000000002 000070000202d518
0x000070000202d498:   000070000202d5e8 8ce0e4580000000a
0x000070000202d4a8:   0000000126898cb0 000000010e99c4c0
0x000070000202d4b8:   000070000202d6d0 000070000202d5a0
0x000070000202d4c8:   000000010604bab8 0000000000000002
0x000070000202d4d8:   00007fa3f2008800 00007fa3f2008800
0x000070000202d4e8:   0000600003a48200 0000600001044000
0x000070000202d4f8:   0000600001044050 00006000010440e8
0x000070000202d508:   00000000000000d8 000070000202dcf0
0x000070000202d518:   00007fa3f2008800 00007fa3f1a04310
0x000070000202d528:   0000000126898cb0 000000078649f918

Instructions: (pc=0x0000000000000000)
0xffffffffffffff00:

Stack slot to memory mapping:
stack at sp + 0 slots: 0x00000001059c050d:
Java_org_apache_commons_crypto_random_OpenSslCryptoRandomNative_nextRandBytes___3B+0x4d
in /private/var/folders/_l/90g8s10s171ccgfr7k974n9r0000gn/T/commons-crypto-fe313671-10b6-4e63-a8e2-f9a6b1052e7c-libcommons-crypto.jnilib
at 0x00000001059bf000
stack at sp + 1 slots: {method} {0x000000012689b418} 'nextRandBytes'
'([B)Z' in 'org/apache/commons/crypto/random/OpenSslCryptoRandomNative'
stack at sp + 2 slots: 0x0 is NULL
stack at sp + 3 slots: 0x000070000202d3e8 is pointing into the stack for
thread: 0x00007fa3f2008800
stack at sp + 4 slots: 0x00007fa3f2008800 is a thread
stack at sp + 5 slots: 0x000070000202d3c8 is pointing into the stack for
thread: 0x00007fa3f2008800
stack at sp + 6 slots: 0x000000010e99d53a is at code_begin+890 in an
Interpreter codelet
method entry point (kind = native)  [0x000000010e99d1c0,
0x000000010e99da20]  2144 bytes
stack at sp + 7 slots: 0x000070000202d3a0 is pointing into the stack for
thread: 0x00007fa3f2008800

---------------  P R O C E S S  ---------------

Threads class SMR info:
_java_thread_list=0x0000600002fe2340, length=13, elements={
0x00007fa3f2008800, 0x00007fa3f2808600, 0x00007fa3f280ae00,
0x00007fa3f280b400,
0x00007fa3f2809400, 0x00007fa3f2809a00, 0x00007fa3f280a000,
0x00007fa3f280a600,
0x00007fa3f280ea00, 0x00007fa3f209e800, 0x00007fa3f20e1200,
0x00007fa3f1138e00,
0x00007fa3f1246400
}

Java Threads: ( => current thread )
=>0x00007fa3f2008800 JavaThread "main" [_thread_in_native, id=6147,
stack(0x0000700001f31000,0x0000700002031000)]
  0x00007fa3f2808600 JavaThread "Reference Handler" daemon
[_thread_blocked, id=16387,
stack(0x0000700002646000,0x0000700002746000)]
  0x00007fa3f280ae00 JavaThread "Finalizer" daemon [_thread_blocked,
id=15363, stack(0x0000700002749000,0x0000700002849000)]
  0x00007fa3f280b400 JavaThread "Signal Dispatcher" daemon
[_thread_blocked, id=22787,
stack(0x0000700002952000,0x0000700002a52000)]
  0x00007fa3f2809400 JavaThread "Service Thread" daemon
[_thread_blocked, id=23043,
stack(0x0000700002a55000,0x0000700002b55000)]
  0x00007fa3f2809a00 JavaThread "Monitor Deflation Thread" daemon
[_thread_blocked, id=23299,
stack(0x0000700002b58000,0x0000700002c58000)]
  0x00007fa3f280a000 JavaThread "C2 CompilerThread0" daemon
[_thread_blocked, id=23811,
stack(0x0000700002c5b000,0x0000700002d5b000)]
  0x00007fa3f280a600 JavaThread "C1 CompilerThread0" daemon
[_thread_blocked, id=24323,
stack(0x0000700002d5e000,0x0000700002e5e000)]
  0x00007fa3f280ea00 JavaThread "Sweeper thread" daemon
[_thread_blocked, id=41475,
stack(0x0000700002e61000,0x0000700002f61000)]
  0x00007fa3f209e800 JavaThread "Common-Cleaner" daemon
[_thread_blocked, id=41219,
stack(0x0000700002f64000,0x0000700003064000)]
  0x00007fa3f20e1200 JavaThread "Notification Thread" daemon
[_thread_blocked, id=40707,
stack(0x0000700003067000,0x0000700003167000)]
  0x00007fa3f1138e00 JavaThread "surefire-forkedjvm-command-thread"
daemon [_thread_in_native, id=39683,
stack(0x0000700003473000,0x0000700003573000)]
  0x00007fa3f1246400 JavaThread "junit-jupiter-timeout-watcher"
[_thread_blocked, id=25859,
stack(0x0000700003576000,0x0000700003676000)]

Other Threads:
  0x00007fa3f3306480 VMThread "VM Thread" [stack:
0x0000700002543000,0x0000700002643000] [id=14339]
  0x00007fa3f1a0bfe0 WatcherThread [stack:
0x000070000316a000,0x000070000326a000] [id=40451]
  0x00007fa3f1906e60 GCTaskThread "GC Thread#0" [stack:
0x0000700002034000,0x0000700002134000] [id=19715]
  0x00007fa3f3326ff0 GCTaskThread "GC Thread#1" [stack:
0x000070000326d000,0x000070000336d000] [id=43015]
  0x00007fa3f33278c0 GCTaskThread "GC Thread#2" [stack:
0x0000700003370000,0x0000700003470000] [id=39939]
  0x00007fa3f1a206b0 GCTaskThread "GC Thread#3" [stack:
0x0000700003679000,0x0000700003779000] [id=39171]
  0x00007fa3f1907500 ConcurrentGCThread "G1 Main Marker" [stack:
0x0000700002137000,0x0000700002237000] [id=19203]
  0x00007fa3f1907d80 ConcurrentGCThread "G1 Conc#0" [stack:
0x000070000223a000,0x000070000233a000] [id=18435]
  0x00007fa3f19095e0 ConcurrentGCThread "G1 Refine#0" [stack:
0x000070000233d000,0x000070000243d000] [id=12803]
  0x00007fa3f1909e70 ConcurrentGCThread "G1 Service" [stack:
0x0000700002440000,0x0000700002540000] [id=17667]

Threads with active compile tasks:

VM state: not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap address: 0x0000000780000000, size: 2048 MB, Compressed Oops mode:
Zero based, Oop shift amount: 3

CDS archive(s) mapped at:
[0x0000000800000000-0x0000000800bd1000-0x0000000800bd1000), size
12390400, SharedBaseAddress: 0x0000000800000000, ArchiveRelocationMode:
0.
Compressed class space mapped at: 0x0000000800c00000-0x0000000840c00000,
reserved size: 1073741824
Narrow klass base: 0x0000000800000000, Narrow klass shift: 0, Narrow
klass range: 0x100000000

GC Precious Log:
 CPUs: 4 total, 4 available
 Memory: 8192M
 Large Page Support: Disabled
 NUMA Support: Disabled
 Compressed Oops: Enabled (Zero based)
 Heap Region Size: 1M
 Heap Min Capacity: 8M
 Heap Initial Capacity: 128M
 Heap Max Capacity: 2G
 Pre-touch: Disabled
 Parallel Workers: 4
 Concurrent Workers: 1
 Concurrent Refinement Workers: 4
 Periodic GC: Disabled

Heap:
 garbage-first heap   total 133120K, used 33633K [0x0000000780000000,
0x0000000800000000)
  region size 1024K, 34 young (34816K), 6 survivors (6144K)
 Metaspace       used 11138K, committed 11392K, reserved 1064960K
  class space    used 1211K, committed 1344K, reserved 1048576K

Heap Regions: E=young(eden), S=young(survivor), O=old,
HS=humongous(starts), HC=humongous(continues), CS=collection set,
F=free, OA=open archive, CA=closed archive, TAMS=top-at-mark-start
(previous, next)
|   0|0x0000000780000000, 0x0000000780000000, 0x0000000780100000|  0%|
F|  |TAMS 0x0000000780000000, 0x0000000780000000| Untracked
|   1|0x0000000780100000, 0x0000000780100000, 0x0000000780200000|  0%|
F|  |TAMS 0x0000000780100000, 0x0000000780100000| Untracked
|   2|0x0000000780200000, 0x0000000780200000, 0x0000000780300000|  0%|
F|  |TAMS 0x0000000780200000, 0x0000000780200000| Untracked
|   3|0x0000000780300000, 0x0000000780300000, 0x0000000780400000|  0%|
F|  |TAMS 0x0000000780300000, 0x0000000780300000| Untracked
|   4|0x0000000780400000, 0x0000000780400000, 0x0000000780500000|  0%|
F|  |TAMS 0x0000000780400000, 0x0000000780400000| Untracked
|   5|0x0000000780500000, 0x0000000780500000, 0x0000000780600000|  0%|
F|  |TAMS 0x0000000780500000, 0x0000000780500000| Untracked
|   6|0x0000000780600000, 0x0000000780600000, 0x0000000780700000|  0%|
F|  |TAMS 0x0000000780600000, 0x0000000780600000| Untracked
|   7|0x0000000780700000, 0x0000000780700000, 0x0000000780800000|  0%|
F|  |TAMS 0x0000000780700000, 0x0000000780700000| Untracked
|   8|0x0000000780800000, 0x0000000780800000, 0x0000000780900000|  0%|
F|  |TAMS 0x0000000780800000, 0x0000000780800000| Untracked
|   9|0x0000000780900000, 0x0000000780900000, 0x0000000780a00000|  0%|
F|  |TAMS 0x0000000780900000, 0x0000000780900000| Untracked
|  10|0x0000000780a00000, 0x0000000780a00000, 0x0000000780b00000|  0%|
F|  |TAMS 0x0000000780a00000, 0x0000000780a00000| Untracked
|  11|0x0000000780b00000, 0x0000000780b00000, 0x0000000780c00000|  0%|
F|  |TAMS 0x0000000780b00000, 0x0000000780b00000| Untracked
|  12|0x0000000780c00000, 0x0000000780c00000, 0x0000000780d00000|  0%|
F|  |TAMS 0x0000000780c00000, 0x0000000780c00000| Untracked
|  13|0x0000000780d00000, 0x0000000780d00000, 0x0000000780e00000|  0%|
F|  |TAMS 0x0000000780d00000, 0x0000000780d00000| Untracked
|  14|0x0000000780e00000, 0x0000000780e00000, 0x0000000780f00000|  0%|
F|  |TAMS 0x0000000780e00000, 0x0000000780e00000| Untracked
|  15|0x0000000780f00000, 0x0000000780f00000, 0x0000000781000000|  0%|
F|  |TAMS 0x0000000780f00000, 0x0000000780f00000| Untracked
|  16|0x0000000781000000, 0x0000000781000000, 0x0000000781100000|  0%|
F|  |TAMS 0x0000000781000000, 0x0000000781000000| Untracked
|  17|0x0000000781100000, 0x0000000781100000, 0x0000000781200000|  0%|
F|  |TAMS 0x0000000781100000, 0x0000000781100000| Untracked
|  18|0x0000000781200000, 0x0000000781200000, 0x0000000781300000|  0%|
F|  |TAMS 0x0000000781200000, 0x0000000781200000| Untracked
|  19|0x0000000781300000, 0x0000000781300000, 0x0000000781400000|  0%|
F|  |TAMS 0x0000000781300000, 0x0000000781300000| Untracked
|  20|0x0000000781400000, 0x0000000781400000, 0x0000000781500000|  0%|
F|  |TAMS 0x0000000781400000, 0x0000000781400000| Untracked
|  21|0x0000000781500000, 0x0000000781500000, 0x0000000781600000|  0%|
F|  |TAMS 0x0000000781500000, 0x0000000781500000| Untracked
|  22|0x0000000781600000, 0x0000000781600000, 0x0000000781700000|  0%|
F|  |TAMS 0x0000000781600000, 0x0000000781600000| Untracked
|  23|0x0000000781700000, 0x0000000781700000, 0x0000000781800000|  0%|
F|  |TAMS 0x0000000781700000, 0x0000000781700000| Untracked
|  24|0x0000000781800000, 0x0000000781800000, 0x0000000781900000|  0%|
F|  |TAMS 0x0000000781800000, 0x0000000781800000| Untracked
|  25|0x0000000781900000, 0x0000000781900000, 0x0000000781a00000|  0%|
F|  |TAMS 0x0000000781900000, 0x0000000781900000| Untracked
|  26|0x0000000781a00000, 0x0000000781a00000, 0x0000000781b00000|  0%|
F|  |TAMS 0x0000000781a00000, 0x0000000781a00000| Untracked
|  27|0x0000000781b00000, 0x0000000781b00000, 0x0000000781c00000|  0%|
F|  |TAMS 0x0000000781b00000, 0x0000000781b00000| Untracked
|  28|0x0000000781c00000, 0x0000000781c00000, 0x0000000781d00000|  0%|
F|  |TAMS 0x0000000781c00000, 0x0000000781c00000| Untracked
|  29|0x0000000781d00000, 0x0000000781d00000, 0x0000000781e00000|  0%|
F|  |TAMS 0x0000000781d00000, 0x0000000781d00000| Untracked
|  30|0x0000000781e00000, 0x0000000781e00000, 0x0000000781f00000|  0%|
F|  |TAMS 0x0000000781e00000, 0x0000000781e00000| Untracked
|  31|0x0000000781f00000, 0x0000000781f00000, 0x0000000782000000|  0%|
F|  |TAMS 0x0000000781f00000, 0x0000000781f00000| Untracked
|  32|0x0000000782000000, 0x0000000782000000, 0x0000000782100000|  0%|
F|  |TAMS 0x0000000782000000, 0x0000000782000000| Untracked
|  33|0x0000000782100000, 0x0000000782100000, 0x0000000782200000|  0%|
F|  |TAMS 0x0000000782100000, 0x0000000782100000| Untracked
|  34|0x0000000782200000, 0x0000000782200000, 0x0000000782300000|  0%|
F|  |TAMS 0x0000000782200000, 0x0000000782200000| Untracked
|  35|0x0000000782300000, 0x0000000782300000, 0x0000000782400000|  0%|
F|  |TAMS 0x0000000782300000, 0x0000000782300000| Untracked
|  36|0x0000000782400000, 0x0000000782400000, 0x0000000782500000|  0%|
F|  |TAMS 0x0000000782400000, 0x0000000782400000| Untracked
|  37|0x0000000782500000, 0x0000000782500000, 0x0000000782600000|  0%|
F|  |TAMS 0x0000000782500000, 0x0000000782500000| Untracked
|  38|0x0000000782600000, 0x0000000782600000, 0x0000000782700000|  0%|
F|  |TAMS 0x0000000782600000, 0x0000000782600000| Untracked
|  39|0x0000000782700000, 0x0000000782700000, 0x0000000782800000|  0%|
F|  |TAMS 0x0000000782700000, 0x0000000782700000| Untracked
|  40|0x0000000782800000, 0x0000000782800000, 0x0000000782900000|  0%|
F|  |TAMS 0x0000000782800000, 0x0000000782800000| Untracked
|  41|0x0000000782900000, 0x0000000782900000, 0x0000000782a00000|  0%|
F|  |TAMS 0x0000000782900000, 0x0000000782900000| Untracked
|  42|0x0000000782a00000, 0x0000000782a00000, 0x0000000782b00000|  0%|
F|  |TAMS 0x0000000782a00000, 0x0000000782a00000| Untracked
|  43|0x0000000782b00000, 0x0000000782b00000, 0x0000000782c00000|  0%|
F|  |TAMS 0x0000000782b00000, 0x0000000782b00000| Untracked
|  44|0x0000000782c00000, 0x0000000782c00000, 0x0000000782d00000|  0%|
F|  |TAMS 0x0000000782c00000, 0x0000000782c00000| Untracked
|  45|0x0000000782d00000, 0x0000000782d00000, 0x0000000782e00000|  0%|
F|  |TAMS 0x0000000782d00000, 0x0000000782d00000| Untracked
|  46|0x0000000782e00000, 0x0000000782ee34b0, 0x0000000782f00000| 88%|
S|CS|TAMS 0x0000000782e00000, 0x0000000782e00000| Complete
|  47|0x0000000782f00000, 0x0000000782f00000, 0x0000000783000000|  0%|
F|  |TAMS 0x0000000782f00000, 0x0000000782f00000| Untracked
|  48|0x0000000783000000, 0x0000000783000000, 0x0000000783100000|  0%|
F|  |TAMS 0x0000000783000000, 0x0000000783000000| Untracked
|  49|0x0000000783100000, 0x0000000783100000, 0x0000000783200000|  0%|
F|  |TAMS 0x0000000783100000, 0x0000000783100000| Untracked
|  50|0x0000000783200000, 0x0000000783200000, 0x0000000783300000|  0%|
F|  |TAMS 0x0000000783200000, 0x0000000783200000| Untracked
|  51|0x0000000783300000, 0x0000000783300000, 0x0000000783400000|  0%|
F|  |TAMS 0x0000000783300000, 0x0000000783300000| Untracked
|  52|0x0000000783400000, 0x0000000783500000, 0x0000000783500000|100%|
S|CS|TAMS 0x0000000783400000, 0x0000000783400000| Complete
|  53|0x0000000783500000, 0x0000000783600000, 0x0000000783600000|100%|
S|CS|TAMS 0x0000000783500000, 0x0000000783500000| Complete
|  54|0x0000000783600000, 0x0000000783700000, 0x0000000783700000|100%|
S|CS|TAMS 0x0000000783600000, 0x0000000783600000| Complete
|  55|0x0000000783700000, 0x0000000783800000, 0x0000000783800000|100%|
S|CS|TAMS 0x0000000783700000, 0x0000000783700000| Complete
|  56|0x0000000783800000, 0x0000000783900000, 0x0000000783900000|100%|
S|CS|TAMS 0x0000000783800000, 0x0000000783800000| Complete
|  57|0x0000000783900000, 0x0000000783900000, 0x0000000783a00000|  0%|
F|  |TAMS 0x0000000783900000, 0x0000000783900000| Untracked
|  58|0x0000000783a00000, 0x0000000783a00000, 0x0000000783b00000|  0%|
F|  |TAMS 0x0000000783a00000, 0x0000000783a00000| Untracked
|  59|0x0000000783b00000, 0x0000000783b00000, 0x0000000783c00000|  0%|
F|  |TAMS 0x0000000783b00000, 0x0000000783b00000| Untracked
|  60|0x0000000783c00000, 0x0000000783c00000, 0x0000000783d00000|  0%|
F|  |TAMS 0x0000000783c00000, 0x0000000783c00000| Untracked
|  61|0x0000000783d00000, 0x0000000783d00000, 0x0000000783e00000|  0%|
F|  |TAMS 0x0000000783d00000, 0x0000000783d00000| Untracked
|  62|0x0000000783e00000, 0x0000000783e00000, 0x0000000783f00000|  0%|
F|  |TAMS 0x0000000783e00000, 0x0000000783e00000| Untracked
|  63|0x0000000783f00000, 0x0000000783f00000, 0x0000000784000000|  0%|
F|  |TAMS 0x0000000783f00000, 0x0000000783f00000| Untracked
|  64|0x0000000784000000, 0x0000000784000000, 0x0000000784100000|  0%|
F|  |TAMS 0x0000000784000000, 0x0000000784000000| Untracked
|  65|0x0000000784100000, 0x0000000784100000, 0x0000000784200000|  0%|
F|  |TAMS 0x0000000784100000, 0x0000000784100000| Untracked
|  66|0x0000000784200000, 0x0000000784200000, 0x0000000784300000|  0%|
F|  |TAMS 0x0000000784200000, 0x0000000784200000| Untracked
|  67|0x0000000784300000, 0x0000000784300000, 0x0000000784400000|  0%|
F|  |TAMS 0x0000000784300000, 0x0000000784300000| Untracked
|  68|0x0000000784400000, 0x0000000784400000, 0x0000000784500000|  0%|
F|  |TAMS 0x0000000784400000, 0x0000000784400000| Untracked
|  69|0x0000000784500000, 0x0000000784500000, 0x0000000784600000|  0%|
F|  |TAMS 0x0000000784500000, 0x0000000784500000| Untracked
|  70|0x0000000784600000, 0x0000000784600000, 0x0000000784700000|  0%|
F|  |TAMS 0x0000000784600000, 0x0000000784600000| Untracked
|  71|0x0000000784700000, 0x0000000784700000, 0x0000000784800000|  0%|
F|  |TAMS 0x0000000784700000, 0x0000000784700000| Untracked
|  72|0x0000000784800000, 0x0000000784800000, 0x0000000784900000|  0%|
F|  |TAMS 0x0000000784800000, 0x0000000784800000| Untracked
|  73|0x0000000784900000, 0x0000000784900000, 0x0000000784a00000|  0%|
F|  |TAMS 0x0000000784900000, 0x0000000784900000| Untracked
|  74|0x0000000784a00000, 0x0000000784a00000, 0x0000000784b00000|  0%|
F|  |TAMS 0x0000000784a00000, 0x0000000784a00000| Untracked
|  75|0x0000000784b00000, 0x0000000784b00000, 0x0000000784c00000|  0%|
F|  |TAMS 0x0000000784b00000, 0x0000000784b00000| Untracked
|  76|0x0000000784c00000, 0x0000000784c00000, 0x0000000784d00000|  0%|
F|  |TAMS 0x0000000784c00000, 0x0000000784c00000| Untracked
|  77|0x0000000784d00000, 0x0000000784d00000, 0x0000000784e00000|  0%|
F|  |TAMS 0x0000000784d00000, 0x0000000784d00000| Untracked
|  78|0x0000000784e00000, 0x0000000784e00000, 0x0000000784f00000|  0%|
F|  |TAMS 0x0000000784e00000, 0x0000000784e00000| Untracked
|  79|0x0000000784f00000, 0x0000000784f00000, 0x0000000785000000|  0%|
F|  |TAMS 0x0000000784f00000, 0x0000000784f00000| Untracked
|  80|0x0000000785000000, 0x0000000785000000, 0x0000000785100000|  0%|
F|  |TAMS 0x0000000785000000, 0x0000000785000000| Untracked
|  81|0x0000000785100000, 0x0000000785100000, 0x0000000785200000|  0%|
F|  |TAMS 0x0000000785100000, 0x0000000785100000| Untracked
|  82|0x0000000785200000, 0x0000000785200000, 0x0000000785300000|  0%|
F|  |TAMS 0x0000000785200000, 0x0000000785200000| Untracked
|  83|0x0000000785300000, 0x0000000785300000, 0x0000000785400000|  0%|
F|  |TAMS 0x0000000785300000, 0x0000000785300000| Untracked
|  84|0x0000000785400000, 0x0000000785400000, 0x0000000785500000|  0%|
F|  |TAMS 0x0000000785400000, 0x0000000785400000| Untracked
|  85|0x0000000785500000, 0x0000000785500000, 0x0000000785600000|  0%|
F|  |TAMS 0x0000000785500000, 0x0000000785500000| Untracked
|  86|0x0000000785600000, 0x0000000785600000, 0x0000000785700000|  0%|
F|  |TAMS 0x0000000785600000, 0x0000000785600000| Untracked
|  87|0x0000000785700000, 0x0000000785700000, 0x0000000785800000|  0%|
F|  |TAMS 0x0000000785700000, 0x0000000785700000| Untracked
|  88|0x0000000785800000, 0x0000000785800000, 0x0000000785900000|  0%|
F|  |TAMS 0x0000000785800000, 0x0000000785800000| Untracked
|  89|0x0000000785900000, 0x0000000785900000, 0x0000000785a00000|  0%|
F|  |TAMS 0x0000000785900000, 0x0000000785900000| Untracked
|  90|0x0000000785a00000, 0x0000000785a00000, 0x0000000785b00000|  0%|
F|  |TAMS 0x0000000785a00000, 0x0000000785a00000| Untracked
|  91|0x0000000785b00000, 0x0000000785b00000, 0x0000000785c00000|  0%|
F|  |TAMS 0x0000000785b00000, 0x0000000785b00000| Untracked
|  92|0x0000000785c00000, 0x0000000785c00000, 0x0000000785d00000|  0%|
F|  |TAMS 0x0000000785c00000, 0x0000000785c00000| Untracked
|  93|0x0000000785d00000, 0x0000000785d00000, 0x0000000785e00000|  0%|
F|  |TAMS 0x0000000785d00000, 0x0000000785d00000| Untracked
|  94|0x0000000785e00000, 0x0000000785e00000, 0x0000000785f00000|  0%|
F|  |TAMS 0x0000000785e00000, 0x0000000785e00000| Untracked
|  95|0x0000000785f00000, 0x0000000785f00000, 0x0000000786000000|  0%|
F|  |TAMS 0x0000000785f00000, 0x0000000785f00000| Untracked
|  96|0x0000000786000000, 0x0000000786000000, 0x0000000786100000|  0%|
F|  |TAMS 0x0000000786000000, 0x0000000786000000| Untracked
|  97|0x0000000786100000, 0x0000000786100000, 0x0000000786200000|  0%|
F|  |TAMS 0x0000000786100000, 0x0000000786100000| Untracked
|  98|0x0000000786200000, 0x0000000786200000, 0x0000000786300000|  0%|
F|  |TAMS 0x0000000786200000, 0x0000000786200000| Untracked
|  99|0x0000000786300000, 0x0000000786300000, 0x0000000786400000|  0%|
F|  |TAMS 0x0000000786300000, 0x0000000786300000| Untracked
| 100|0x0000000786400000, 0x0000000786500000, 0x0000000786500000|100%|
E|  |TAMS 0x0000000786400000, 0x0000000786400000| Complete
| 101|0x0000000786500000, 0x0000000786600000, 0x0000000786600000|100%|
E|CS|TAMS 0x0000000786500000, 0x0000000786500000| Complete
| 102|0x0000000786600000, 0x0000000786700000, 0x0000000786700000|100%|
E|  |TAMS 0x0000000786600000, 0x0000000786600000| Complete
| 103|0x0000000786700000, 0x0000000786800000, 0x0000000786800000|100%|
E|CS|TAMS 0x0000000786700000, 0x0000000786700000| Complete
| 104|0x0000000786800000, 0x0000000786900000, 0x0000000786900000|100%|
E|CS|TAMS 0x0000000786800000, 0x0000000786800000| Complete
| 105|0x0000000786900000, 0x0000000786a00000, 0x0000000786a00000|100%|
E|CS|TAMS 0x0000000786900000, 0x0000000786900000| Complete
| 106|0x0000000786a00000, 0x0000000786b00000, 0x0000000786b00000|100%|
E|CS|TAMS 0x0000000786a00000, 0x0000000786a00000| Complete
| 107|0x0000000786b00000, 0x0000000786c00000, 0x0000000786c00000|100%|
E|CS|TAMS 0x0000000786b00000, 0x0000000786b00000| Complete
| 108|0x0000000786c00000, 0x0000000786d00000, 0x0000000786d00000|100%|
E|CS|TAMS 0x0000000786c00000, 0x0000000786c00000| Complete
| 109|0x0000000786d00000, 0x0000000786e00000, 0x0000000786e00000|100%|
E|CS|TAMS 0x0000000786d00000, 0x0000000786d00000| Complete
| 110|0x0000000786e00000, 0x0000000786f00000, 0x0000000786f00000|100%|
E|CS|TAMS 0x0000000786e00000, 0x0000000786e00000| Complete
| 111|0x0000000786f00000, 0x0000000787000000, 0x0000000787000000|100%|
E|CS|TAMS 0x0000000786f00000, 0x0000000786f00000| Complete
| 112|0x0000000787000000, 0x0000000787100000, 0x0000000787100000|100%|
E|CS|TAMS 0x0000000787000000, 0x0000000787000000| Complete
| 113|0x0000000787100000, 0x0000000787200000, 0x0000000787200000|100%|
E|CS|TAMS 0x0000000787100000, 0x0000000787100000| Complete
| 114|0x0000000787200000, 0x0000000787300000, 0x0000000787300000|100%|
E|CS|TAMS 0x0000000787200000, 0x0000000787200000| Complete
| 115|0x0000000787300000, 0x0000000787400000, 0x0000000787400000|100%|
E|CS|TAMS 0x0000000787300000, 0x0000000787300000| Complete
| 116|0x0000000787400000, 0x0000000787500000, 0x0000000787500000|100%|
E|CS|TAMS 0x0000000787400000, 0x0000000787400000| Complete
| 117|0x0000000787500000, 0x0000000787600000, 0x0000000787600000|100%|
E|CS|TAMS 0x0000000787500000, 0x0000000787500000| Complete
| 118|0x0000000787600000, 0x0000000787700000, 0x0000000787700000|100%|
E|CS|TAMS 0x0000000787600000, 0x0000000787600000| Complete
| 119|0x0000000787700000, 0x0000000787800000, 0x0000000787800000|100%|
E|CS|TAMS 0x0000000787700000, 0x0000000787700000| Complete
| 120|0x0000000787800000, 0x0000000787900000, 0x0000000787900000|100%|
E|CS|TAMS 0x0000000787800000, 0x0000000787800000| Complete
| 121|0x0000000787900000, 0x0000000787a00000, 0x0000000787a00000|100%|
E|CS|TAMS 0x0000000787900000, 0x0000000787900000| Complete
| 122|0x0000000787a00000, 0x0000000787b00000, 0x0000000787b00000|100%|
E|CS|TAMS 0x0000000787a00000, 0x0000000787a00000| Complete
| 123|0x0000000787b00000, 0x0000000787c00000, 0x0000000787c00000|100%|
E|CS|TAMS 0x0000000787b00000, 0x0000000787b00000| Complete
| 124|0x0000000787c00000, 0x0000000787d00000, 0x0000000787d00000|100%|
E|CS|TAMS 0x0000000787c00000, 0x0000000787c00000| Complete
| 125|0x0000000787d00000, 0x0000000787e00000, 0x0000000787e00000|100%|
E|CS|TAMS 0x0000000787d00000, 0x0000000787d00000| Complete
| 126|0x0000000787e00000, 0x0000000787f00000, 0x0000000787f00000|100%|
E|CS|TAMS 0x0000000787e00000, 0x0000000787e00000| Complete
| 127|0x0000000787f00000, 0x0000000788000000, 0x0000000788000000|100%|
E|CS|TAMS 0x0000000787f00000, 0x0000000787f00000| Complete
|2046|0x00000007ffe00000, 0x00000007ffe76000, 0x00000007fff00000|
46%|OA|  |TAMS 0x00000007ffe00000, 0x00000007ffe00000| Untracked
|2047|0x00000007fff00000, 0x00000007fff7f000, 0x0000000800000000|
49%|CA|  |TAMS 0x00000007fff00000, 0x00000007fff00000| Untracked

Card table byte_map: [0x0000000105511000,0x0000000105911000]
_byte_map_base: 0x0000000101911000

Marking Bits (Prev, Next): (CMBitMap*) 0x00007fa3f202b410, (CMBitMap*)
0x00007fa3f202b450
 Prev Bits: [0x000000011dd90000, 0x000000011fd90000)
 Next Bits: [0x000000011fd90000, 0x0000000121d90000)

Polling page: 0x0000000104e48000

Metaspace:

Usage:
  Non-class:      9.69 MB used.
      Class:      1.18 MB used.
       Both:     10.88 MB used.

Virtual space:
  Non-class space:       16.00 MB reserved,       9.81 MB ( 61%)
committed,  2 nodes.
      Class space:        1.00 GB reserved,       1.31 MB ( <1%)
committed,  1 nodes.
             Both:        1.02 GB reserved,      11.12 MB (  1%)
committed.

Chunk freelists:
   Non-Class:  1.77 MB
       Class:  2.75 MB
        Both:  4.51 MB

MaxMetaspaceSize: unlimited
CompressedClassSpaceSize: 1.00 GB
Initial GC threshold: 21.00 MB
Current GC threshold: 21.00 MB
CDS: on
MetaspaceReclaimPolicy: balanced
 - commit_granule_bytes: 65536.
 - commit_granule_words: 8192.
 - virtual_space_node_default_size: 1048576.
 - enlarge_chunks_in_place: 1.
 - new_chunks_are_fully_committed: 0.
 - uncommit_free_chunks: 1.
 - use_allocation_guard: 0.
 - handle_deallocations: 1.

Internal statistics:

num_allocs_failed_limit: 0.
num_arena_births: 176.
num_arena_deaths: 0.
num_vsnodes_births: 3.
num_vsnodes_deaths: 0.
num_space_committed: 178.
num_space_uncommitted: 0.
num_chunks_returned_to_freelist: 0.
num_chunks_taken_from_freelist: 552.
num_chunk_merges: 0.
num_chunk_splits: 306.
num_chunks_enlarged: 199.
num_purges: 0.
num_inconsistent_stats: 0.

CodeHeap 'non-profiled nmethods': size=120032Kb used=899Kb
max_used=899Kb free=119133Kb
 bounds [0x0000000116458000, 0x00000001166c8000, 0x000000011d990000]
CodeHeap 'profiled nmethods': size=120028Kb used=6446Kb max_used=6446Kb
free=113581Kb
 bounds [0x000000010ef21000, 0x000000010f571000, 0x0000000116458000]
CodeHeap 'non-nmethods': size=5700Kb used=1173Kb max_used=1250Kb
free=4526Kb
 bounds [0x000000010e990000, 0x000000010ec00000, 0x000000010ef21000]
 total_blobs=3970 nmethods=3506 adapters=377
 compilation: enabled
              stopped_count=0, restarted_count=0
 full_count=0

Compilation events (20 events):
Event: 7.444 Thread 0x00007fa3f280a600 3550       3
org.apache.maven.surefire.shared.codec.binary.BaseNCodec::$jacocoInit
(52 bytes)
Event: 7.445 Thread 0x00007fa3f280a600 nmethod 3550 0x000000010f562f10
code [0x000000010f563120, 0x000000010f563ad0]
Event: 7.445 Thread 0x00007fa3f280a600 3556       3
java.lang.String::hashCode (60 bytes)
Event: 7.445 Thread 0x00007fa3f280a600 nmethod 3556 0x000000010f563d10
code [0x000000010f563ee0, 0x000000010f564250]
Event: 7.445 Thread 0x00007fa3f280a600 3558       3
org.junit.platform.commons.util.AnnotationUtils::findAnnotation (363
bytes)
Event: 7.445 Thread 0x00007fa3f280a000 3551 %     4
java.lang.String::encodeASCII @ 13 (151 bytes)
Event: 7.446 Thread 0x00007fa3f280a600 nmethod 3558 0x000000010f564310
code [0x000000010f564680, 0x000000010f565d10]
Event: 7.447 Thread 0x00007fa3f280a600 3555       3
java.util.LinkedHashMap$LinkedHashIterator::nextNode (54 bytes)
Event: 7.447 Thread 0x00007fa3f280a600 nmethod 3555 0x000000010f566610
code [0x000000010f5667e0, 0x000000010f566b90]
Event: 7.447 Thread 0x00007fa3f280a600 3557       3
sun.reflect.annotation.AnnotationInvocationHandler::invoke (178 bytes)
Event: 7.448 Thread 0x00007fa3f280a600 nmethod 3557 0x000000010f566d10
code [0x000000010f567020, 0x000000010f568180]
Event: 7.448 Thread 0x00007fa3f280a600 3559       3
org.junit.platform.commons.util.Preconditions::condition (41 bytes)
Event: 7.448 Thread 0x00007fa3f280a600 nmethod 3559 0x000000010f568690
code [0x000000010f568880, 0x000000010f568d00]
Event: 7.448 Thread 0x00007fa3f280a600 3561       3
org.junit.platform.commons.util.AnnotationUtils::isInJavaLangAnnotationPackage
(63 bytes)
Event: 7.449 Thread 0x00007fa3f280a600 nmethod 3561 0x000000010f568f10
code [0x000000010f569100, 0x000000010f569560]
Event: 7.449 Thread 0x00007fa3f280a600 3560       3
java.util.Optional::map (30 bytes)
Event: 7.449 Thread 0x00007fa3f280a600 nmethod 3560 0x000000010f569810
code [0x000000010f569a20, 0x000000010f56a130]
Event: 7.449 Thread 0x00007fa3f280a600 3549       3
org.apache.maven.surefire.junitplatform.RunListenerAdapter::$jacocoInit
(54 bytes)
Event: 7.450 Thread 0x00007fa3f280a600 nmethod 3549 0x000000010f56a390
code [0x000000010f56a5c0, 0x000000010f56b0f0]
Event: 7.450 Thread 0x00007fa3f280a600 3553       3
java.util.Collections::unmodifiableList (47 bytes)

GC Heap History (10 events):
Event: 5.289 GC heap before
{Heap before GC invocations=0 (full 0):
 garbage-first heap   total 133120K, used 13268K [0x0000000780000000,
0x0000000800000000)
  region size 1024K, 13 young (13312K), 0 survivors (0K)
 Metaspace       used 2710K, committed 2816K, reserved 1056768K
  class space    used 263K, committed 320K, reserved 1048576K
}
Event: 5.291 GC heap after
{Heap after GC invocations=1 (full 0):
 garbage-first heap   total 133120K, used 2326K [0x0000000780000000,
0x0000000800000000)
  region size 1024K, 2 young (2048K), 2 survivors (2048K)
 Metaspace       used 2710K, committed 2816K, reserved 1056768K
  class space    used 263K, committed 320K, reserved 1048576K
}
Event: 5.494 GC heap before
{Heap before GC invocations=1 (full 0):
 garbage-first heap   total 133120K, used 26902K [0x0000000780000000,
0x0000000800000000)
  region size 1024K, 27 young (27648K), 2 survivors (2048K)
 Metaspace       used 4453K, committed 4608K, reserved 1056768K
  class space    used 449K, committed 576K, reserved 1048576K
}
Event: 5.497 GC heap after
{Heap after GC invocations=2 (full 0):
 garbage-first heap   total 133120K, used 3333K [0x0000000780000000,
0x0000000800000000)
  region size 1024K, 3 young (3072K), 3 survivors (3072K)
 Metaspace       used 4453K, committed 4608K, reserved 1056768K
  class space    used 449K, committed 576K, reserved 1048576K
}
Event: 6.370 GC heap before
{Heap before GC invocations=2 (full 0):
 garbage-first heap   total 133120K, used 71941K [0x0000000780000000,
0x0000000800000000)
  region size 1024K, 70 young (71680K), 3 survivors (3072K)
 Metaspace       used 9536K, committed 9792K, reserved 1064960K
  class space    used 1072K, committed 1216K, reserved 1048576K
}
Event: 6.376 GC heap after
{Heap after GC invocations=3 (full 0):
 garbage-first heap   total 133120K, used 4606K [0x0000000780000000,
0x0000000800000000)
  region size 1024K, 4 young (4096K), 4 survivors (4096K)
 Metaspace       used 9536K, committed 9792K, reserved 1064960K
  class space    used 1072K, committed 1216K, reserved 1048576K
}
Event: 7.174 GC heap before
{Heap before GC invocations=3 (full 0):
 garbage-first heap   total 133120K, used 78334K [0x0000000780000000,
0x0000000800000000)
  region size 1024K, 76 young (77824K), 4 survivors (4096K)
 Metaspace       used 11004K, committed 11328K, reserved 1064960K
  class space    used 1205K, committed 1344K, reserved 1048576K
}
Event: 7.178 GC heap after
{Heap after GC invocations=4 (full 0):
 garbage-first heap   total 133120K, used 5209K [0x0000000780000000,
0x0000000800000000)
  region size 1024K, 5 young (5120K), 5 survivors (5120K)
 Metaspace       used 11004K, committed 11328K, reserved 1064960K
  class space    used 1205K, committed 1344K, reserved 1048576K
}
Event: 7.375 GC heap before
{Heap before GC invocations=4 (full 0):
 garbage-first heap   total 133120K, used 77913K [0x0000000780000000,
0x0000000800000000)
  region size 1024K, 76 young (77824K), 5 survivors (5120K)
 Metaspace       used 11131K, committed 11392K, reserved 1064960K
  class space    used 1211K, committed 1344K, reserved 1048576K
}
Event: 7.381 GC heap after
{Heap after GC invocations=5 (full 0):
 garbage-first heap   total 133120K, used 7009K [0x0000000780000000,
0x0000000800000000)
  region size 1024K, 6 young (6144K), 6 survivors (6144K)
 Metaspace       used 11131K, committed 11392K, reserved 1064960K
  class space    used 1211K, committed 1344K, reserved 1048576K
}

Deoptimization events (20 events):
Event: 7.285 Thread 0x00007fa3f2008800 DEOPT PACKING
pc=0x000000010f3b9baa sp=0x000070000202d610
Event: 7.285 Thread 0x00007fa3f2008800 DEOPT UNPACKING
pc=0x000000010e9e282f sp=0x000070000202caf8 mode 0
Event: 7.285 Thread 0x00007fa3f2008800 DEOPT PACKING
pc=0x000000010f3b9baa sp=0x000070000202d6a0
Event: 7.285 Thread 0x00007fa3f2008800 DEOPT UNPACKING
pc=0x000000010e9e282f sp=0x000070000202cb88 mode 0
Event: 7.288 Thread 0x00007fa3f2008800 DEOPT PACKING
pc=0x000000010f3b9baa sp=0x000070000202d610
Event: 7.288 Thread 0x00007fa3f2008800 DEOPT UNPACKING
pc=0x000000010e9e282f sp=0x000070000202caf8 mode 0
Event: 7.288 Thread 0x00007fa3f2008800 DEOPT PACKING
pc=0x000000010f3b9baa sp=0x000070000202d610
Event: 7.288 Thread 0x00007fa3f2008800 DEOPT UNPACKING
pc=0x000000010e9e282f sp=0x000070000202caf8 mode 0
Event: 7.293 Thread 0x00007fa3f2008800 DEOPT PACKING
pc=0x000000010f3b9baa sp=0x000070000202d3b0
Event: 7.293 Thread 0x00007fa3f2008800 DEOPT UNPACKING
pc=0x000000010e9e282f sp=0x000070000202c898 mode 0
Event: 7.294 Thread 0x00007fa3f2008800 DEOPT PACKING
pc=0x000000010f3b9baa sp=0x000070000202d3b0
Event: 7.295 Thread 0x00007fa3f2008800 DEOPT UNPACKING
pc=0x000000010e9e282f sp=0x000070000202c898 mode 0
Event: 7.297 Thread 0x00007fa3f2008800 DEOPT PACKING
pc=0x000000010f3bd91d sp=0x000070000202d350
Event: 7.297 Thread 0x00007fa3f2008800 DEOPT UNPACKING
pc=0x000000010e9e282f sp=0x000070000202c808 mode 0
Event: 7.297 Thread 0x00007fa3f2008800 DEOPT PACKING
pc=0x000000010f3bd91d sp=0x000070000202d2e0
Event: 7.297 Thread 0x00007fa3f2008800 DEOPT UNPACKING
pc=0x000000010e9e282f sp=0x000070000202c798 mode 0
Event: 7.299 Thread 0x00007fa3f2008800 DEOPT PACKING
pc=0x000000010f3bd91d sp=0x000070000202d350
Event: 7.299 Thread 0x00007fa3f2008800 DEOPT UNPACKING
pc=0x000000010e9e282f sp=0x000070000202c808 mode 0
Event: 7.299 Thread 0x00007fa3f2008800 DEOPT PACKING
pc=0x000000010f3bd91d sp=0x000070000202d2e0
Event: 7.299 Thread 0x00007fa3f2008800 DEOPT UNPACKING
pc=0x000000010e9e282f sp=0x000070000202c798 mode 0

Classes unloaded (0 events):
No events

Classes redefined (0 events):
No events

Internal exceptions (20 events):
Event: 7.232 Thread 0x00007fa3f2008800 Exception <a
'java/security/InvalidKeyException'{0x0000000786c2a468}: Invalid AES key
length: 10 bytes> (0x0000000786c2a468)
thrown [src/hotspot/share/prims/jni.cpp, line 535]
Event: 7.232 Thread 0x00007fa3f2008800 Exception <a
'java/security/InvalidKeyException'{0x0000000786c2bd08}: Invalid AES key
length: 10 bytes> (0x0000000786c2bd08)
thrown [src/hotspot/share/prims/jni.cpp, line 535]
Event: 7.268 Thread 0x00007fa3f2008800 Implicit null exception at
0x000000010f3f6bb6 to 0x000000010f3f7035
Event: 7.268 Thread 0x00007fa3f2008800 Exception <a
'java/lang/NullPointerException'{0x0000000786606cd0}>
(0x0000000786606cd0)
thrown [src/hotspot/share/runtime/sharedRuntime.cpp, line 628]
Event: 7.277 Thread 0x00007fa3f2008800 Exception <a
'java/security/InvalidKeyException'{0x000000078641d578}: Invalid AES key
length: 10 bytes> (0x000000078641d578)
thrown [src/hotspot/share/prims/jni.cpp, line 535]
Event: 7.277 Thread 0x00007fa3f2008800 Exception <a
'java/security/InvalidKeyException'{0x0000000786420dd8}: Invalid AES key
length: 10 bytes> (0x0000000786420dd8)
thrown [src/hotspot/share/prims/jni.cpp, line 535]
Event: 7.278 Thread 0x00007fa3f2008800 Exception <a
'java/security/InvalidKeyException'{0x000000078643c6d0}: Invalid AES key
length: 10 bytes> (0x000000078643c6d0)
thrown [src/hotspot/share/prims/jni.cpp, line 535]
Event: 7.278 Thread 0x00007fa3f2008800 Exception <a
'java/security/InvalidKeyException'{0x000000078643ff30}: Invalid AES key
length: 10 bytes> (0x000000078643ff30)
thrown [src/hotspot/share/prims/jni.cpp, line 535]
Event: 7.278 Thread 0x00007fa3f2008800 Exception <a
'java/security/InvalidKeyException'{0x0000000786451c48}: Invalid AES key
length: 10 bytes> (0x0000000786451c48)
thrown [src/hotspot/share/prims/jni.cpp, line 535]
Event: 7.278 Thread 0x00007fa3f2008800 Exception <a
'java/security/InvalidKeyException'{0x00000007864534e8}: Invalid AES key
length: 10 bytes> (0x00000007864534e8)
thrown [src/hotspot/share/prims/jni.cpp, line 535]
Event: 7.279 Thread 0x00007fa3f2008800 Exception <a
'java/security/InvalidKeyException'{0x0000000786464fb8}: Invalid AES key
length: 10 bytes> (0x0000000786464fb8)
thrown [src/hotspot/share/prims/jni.cpp, line 535]
Event: 7.279 Thread 0x00007fa3f2008800 Exception <a
'java/security/InvalidKeyException'{0x0000000786466858}: Invalid AES key
length: 10 bytes> (0x0000000786466858)
thrown [src/hotspot/share/prims/jni.cpp, line 535]
Event: 7.314 Thread 0x00007fa3f2008800 Exception <a
'java/security/InvalidKeyException'{0x0000000785e64328}: Invalid AES key
length: 10 bytes> (0x0000000785e64328)
thrown [src/hotspot/share/prims/jni.cpp, line 535]
Event: 7.314 Thread 0x00007fa3f2008800 Exception <a
'java/security/InvalidKeyException'{0x0000000785e67b88}: Invalid AES key
length: 10 bytes> (0x0000000785e67b88)
thrown [src/hotspot/share/prims/jni.cpp, line 535]
Event: 7.314 Thread 0x00007fa3f2008800 Exception <a
'java/security/InvalidKeyException'{0x0000000785e83568}: Invalid AES key
length: 10 bytes> (0x0000000785e83568)
thrown [src/hotspot/share/prims/jni.cpp, line 535]
Event: 7.314 Thread 0x00007fa3f2008800 Exception <a
'java/security/InvalidKeyException'{0x0000000785e86dc8}: Invalid AES key
length: 10 bytes> (0x0000000785e86dc8)
thrown [src/hotspot/share/prims/jni.cpp, line 535]
Event: 7.314 Thread 0x00007fa3f2008800 Exception <a
'java/security/InvalidKeyException'{0x0000000785e98ae0}: Invalid AES key
length: 10 bytes> (0x0000000785e98ae0)
thrown [src/hotspot/share/prims/jni.cpp, line 535]
Event: 7.314 Thread 0x00007fa3f2008800 Exception <a
'java/security/InvalidKeyException'{0x0000000785e9a380}: Invalid AES key
length: 10 bytes> (0x0000000785e9a380)
thrown [src/hotspot/share/prims/jni.cpp, line 535]
Event: 7.315 Thread 0x00007fa3f2008800 Exception <a
'java/security/InvalidKeyException'{0x0000000785eabb70}: Invalid AES key
length: 10 bytes> (0x0000000785eabb70)
thrown [src/hotspot/share/prims/jni.cpp, line 535]
Event: 7.315 Thread 0x00007fa3f2008800 Exception <a
'java/security/InvalidKeyException'{0x0000000785ead410}: Invalid AES key
length: 10 bytes> (0x0000000785ead410)
thrown [src/hotspot/share/prims/jni.cpp, line 535]

VM Operations (20 events):
Event: 6.134 Executing VM operation: HandshakeAllThreads
Event: 6.134 Executing VM operation: HandshakeAllThreads done
Event: 6.369 Executing VM operation: G1CollectForAllocation
Event: 6.376 Executing VM operation: G1CollectForAllocation done
Event: 6.411 Executing VM operation: HandshakeAllThreads
Event: 6.411 Executing VM operation: HandshakeAllThreads done
Event: 6.894 Executing VM operation: HandshakeAllThreads
Event: 6.894 Executing VM operation: HandshakeAllThreads done
Event: 6.896 Executing VM operation: HandshakeAllThreads
Event: 6.896 Executing VM operation: HandshakeAllThreads done
Event: 6.897 Executing VM operation: HandshakeAllThreads
Event: 6.897 Executing VM operation: HandshakeAllThreads done
Event: 7.142 Executing VM operation: ICBufferFull
Event: 7.142 Executing VM operation: ICBufferFull done
Event: 7.144 Executing VM operation: HandshakeAllThreads
Event: 7.144 Executing VM operation: HandshakeAllThreads done
Event: 7.174 Executing VM operation: G1CollectForAllocation
Event: 7.178 Executing VM operation: G1CollectForAllocation done
Event: 7.375 Executing VM operation: G1CollectForAllocation
Event: 7.381 Executing VM operation: G1CollectForAllocation done

Events (20 events):
Event: 7.435 Protecting memory [0x000070000690f000,0x0000700006913000]
with protection modes 3
Event: 7.435 Thread 0x00007fa3f24fd400 Thread exited: 0x00007fa3f24fd400
Event: 7.436 Protecting memory [0x00007000045a6000,0x00007000045aa000]
with protection modes 3
Event: 7.436 Thread 0x00007fa3f2531c00 Thread exited: 0x00007fa3f2531c00
Event: 7.437 Protecting memory [0x0000700005ef1000,0x0000700005ef5000]
with protection modes 3
Event: 7.437 Thread 0x00007fa3f2b4ce00 Thread exited: 0x00007fa3f2b4ce00
Event: 7.438 Protecting memory [0x0000700005ceb000,0x0000700005cef000]
with protection modes 3
Event: 7.438 Thread 0x00007fa3f3932800 Thread exited: 0x00007fa3f3932800
Event: 7.439 Protecting memory [0x00007000057dc000,0x00007000057e0000]
with protection modes 3
Event: 7.439 Thread 0x00007fa3f3bb1e00 Thread exited: 0x00007fa3f3bb1e00
Event: 7.439 Protecting memory [0x00007000054d3000,0x00007000054d7000]
with protection modes 3
Event: 7.439 Thread 0x00007fa3f57b8e00 Thread exited: 0x00007fa3f57b8e00
Event: 7.440 Protecting memory [0x00007000051ca000,0x00007000051ce000]
with protection modes 3
Event: 7.440 Thread 0x00007fa3f5570c00 Thread exited: 0x00007fa3f5570c00
Event: 7.441 Protecting memory [0x000070000387f000,0x0000700003883000]
with protection modes 3
Event: 7.441 Thread 0x00007fa3f2520200 Thread exited: 0x00007fa3f2520200
Event: 7.442 Protecting memory [0x0000700004ec1000,0x0000700004ec5000]
with protection modes 3
Event: 7.442 Thread 0x00007fa3f5570000 Thread exited: 0x00007fa3f5570000
Event: 7.443 Protecting memory [0x0000700004ab5000,0x0000700004ab9000]
with protection modes 3
Event: 7.443 Thread 0x00007fa3f253ee00 Thread exited: 0x00007fa3f253ee00

Dynamic libraries:
0x0000000104e4a000
	/usr/local/Cellar/openjdk/17.0.2/libexec/openjdk.jdk/Contents/Home/lib/libjli.dylib
0x00007ff81936e000 	/usr/lib/libz.1.dylib
0x00007ff81944e000 	/usr/lib/libSystem.B.dylib
0x00007ff819449000 	/usr/lib/system/libcache.dylib
0x00007ff819405000 	/usr/lib/system/libcommonCrypto.dylib
0x00007ff81942e000 	/usr/lib/system/libcompiler_rt.dylib
0x00007ff819424000 	/usr/lib/system/libcopyfile.dylib
0x00007ff80e3f9000 	/usr/lib/system/libcorecrypto.dylib
0x00007ff80e4b7000 	/usr/lib/system/libdispatch.dylib
0x00007ff80e67b000 	/usr/lib/system/libdyld.dylib
0x00007ff819440000 	/usr/lib/system/libkeymgr.dylib
0x00007ff8193e3000 	/usr/lib/system/libmacho.dylib
0x00007ff818a62000 	/usr/lib/system/libquarantine.dylib
0x00007ff81943e000 	/usr/lib/system/libremovefile.dylib
0x00007ff8135f5000 	/usr/lib/system/libsystem_asl.dylib
0x00007ff80e3a2000 	/usr/lib/system/libsystem_blocks.dylib
0x00007ff80e53f000 	/usr/lib/system/libsystem_c.dylib
0x00007ff819436000 	/usr/lib/system/libsystem_collections.dylib
0x00007ff817d0f000 	/usr/lib/system/libsystem_configuration.dylib
0x00007ff816fbb000 	/usr/lib/system/libsystem_containermanager.dylib
0x00007ff81911c000 	/usr/lib/system/libsystem_coreservices.dylib
0x00007ff810c9e000 	/usr/lib/system/libsystem_darwin.dylib
0x00007ff819441000 	/usr/lib/system/libsystem_dnssd.dylib
0x00007ff80e53c000 	/usr/lib/system/libsystem_featureflags.dylib
0x00007ff80e691000 	/usr/lib/system/libsystem_info.dylib
0x00007ff819381000 	/usr/lib/system/libsystem_m.dylib
0x00007ff80e48b000 	/usr/lib/system/libsystem_malloc.dylib
0x00007ff813590000 	/usr/lib/system/libsystem_networkextension.dylib
0x00007ff8110c4000 	/usr/lib/system/libsystem_notify.dylib
0x00007ff81f6ac000 	/usr/lib/system/libsystem_product_info_filter.dylib
0x00007ff817d13000 	/usr/lib/system/libsystem_sandbox.dylib
0x00007ff81943b000 	/usr/lib/system/libsystem_secinit.dylib
0x00007ff80e637000 	/usr/lib/system/libsystem_kernel.dylib
0x00007ff80e687000 	/usr/lib/system/libsystem_platform.dylib
0x00007ff80e66f000 	/usr/lib/system/libsystem_pthread.dylib
0x00007ff814e3d000 	/usr/lib/system/libsystem_symptoms.dylib
0x00007ff80e3e0000 	/usr/lib/system/libsystem_trace.dylib
0x00007ff819411000 	/usr/lib/system/libunwind.dylib
0x00007ff80e3a4000 	/usr/lib/system/libxpc.dylib
0x00007ff80e621000 	/usr/lib/libc++abi.dylib
0x00007ff80e4fe000 	/usr/lib/libobjc.A.dylib
0x00007ff81941c000 	/usr/lib/liboah.dylib
0x00007ff80e5c8000 	/usr/lib/libc++.1.dylib
0x00007ff8254a9000
	/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x00007ff811122000
	/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x00007ff81462d000
	/System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x00007ff80f52e000
	/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x00007ff811fb0000
	/System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation
0x00007ff81f3af000
	/System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices
0x00007ff817699000
	/System/Library/PrivateFrameworks/XCTTargetBootstrap.framework/Versions/A/XCTTargetBootstrap
0x00007ff81b255000
	/System/Library/PrivateFrameworks/InternationalSupport.framework/Versions/A/InternationalSupport
0x00007ff81b2df000
	/System/Library/PrivateFrameworks/UserActivity.framework/Versions/A/UserActivity
0x00007ff81a635000 	/usr/lib/libspindump.dylib
0x00007ff81223e000
	/System/Library/Frameworks/UniformTypeIdentifiers.framework/Versions/A/UniformTypeIdentifiers
0x00007ff815dc2000 	/usr/lib/libapp_launch_measurement.dylib
…
  • Loading branch information
garydgregory committed Mar 19, 2022
1 parent 3f5a0f0 commit efe41a6
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 36 deletions.
Expand Up @@ -55,12 +55,31 @@ class OpenSslCryptoRandom extends Random implements CryptoRandom {
try {
OpenSslCryptoRandomNative.initSR();
opensslLoaded = true;
} catch (final Exception | UnsatisfiedLinkError t) {
except = t;
} catch (final Exception | UnsatisfiedLinkError e) {
except = e;
}
}
nativeEnabled = opensslLoaded;
initException = except;
//
// Check that nextRandBytes works (is this really needed?)
try {
checkNative();
} catch (GeneralSecurityException e) {
throw new IllegalStateException(e);
}
if (!OpenSslCryptoRandomNative.nextRandBytes(new byte[1])) {
throw new IllegalStateException("Check of nextRandBytes failed");
}
}

private static void checkNative() throws GeneralSecurityException {
if (!nativeEnabled) {
if (initException != null) {
throw new GeneralSecurityException("Native library could not be initialized", initException);
}
throw new GeneralSecurityException("Native library is not loaded");
}
}

/**
Expand All @@ -81,41 +100,16 @@ public static boolean isNativeCodeEnabled() {
// N.B. this class is not public/protected so does not appear in the main Javadoc
// Please ensure that property use is documented in the enum CryptoRandomFactory.RandomProvider
public OpenSslCryptoRandom(final Properties props) throws GeneralSecurityException { // NOPMD
if (!nativeEnabled) {
if (initException != null) {
throw new GeneralSecurityException("Native library could not be initialized", initException);
}
throw new GeneralSecurityException("Native library is not loaded");
}
// Check that nextRandBytes works (is this really needed?)
if (!OpenSslCryptoRandomNative.nextRandBytes(new byte[1])) {
throw new GeneralSecurityException("Check of nextRandBytes failed");
}
}

/**
* Generates a user-specified number of random bytes. It's thread-safe.
*
* @param bytes the array to be filled in with random bytes.
*/
@Override
public void nextBytes(final byte[] bytes) {
// Constructor ensures that native is enabled here
if (!OpenSslCryptoRandomNative.nextRandBytes(bytes)) {
// Assume it's a problem with the argument, rather than an internal issue
throw new IllegalArgumentException("The nextRandBytes method failed");
}
checkNative();
}

/**
* Overrides {@link OpenSslCryptoRandom}. For {@link OpenSslCryptoRandom},
* we don't need to set seed.
*
* @param seed the initial seed.
* Overrides {@link java.lang.AutoCloseable#close()}.
* Does nothing.
*/
@Override
public void setSeed(final long seed) {
// Self-seeding.
public void close() {
// noop
}

/**
Expand Down Expand Up @@ -144,11 +138,27 @@ final protected int next(final int numBits) {
}

/**
* Overrides {@link java.lang.AutoCloseable#close()}.
* Does nothing.
* Generates a user-specified number of random bytes. It's thread-safe.
*
* @param bytes the array to be filled in with random bytes.
*/
@Override
public void close() {
// noop
public void nextBytes(final byte[] bytes) {
// Constructor ensures that native is enabled here
if (!OpenSslCryptoRandomNative.nextRandBytes(bytes)) {
// Assume it's a problem with the argument, rather than an internal issue
throw new IllegalArgumentException("The nextRandBytes method failed");
}
}

/**
* Overrides {@link OpenSslCryptoRandom}. For {@link OpenSslCryptoRandom},
* we don't need to set seed.
*
* @param seed the initial seed.
*/
@Override
public void setSeed(final long seed) {
// Self-seeding.
}
}
Expand Up @@ -164,6 +164,14 @@ JNIEXPORT void JNICALL Java_org_apache_commons_crypto_random_OpenSslCryptoRandom
JNIEXPORT jboolean JNICALL Java_org_apache_commons_crypto_random_OpenSslCryptoRandomNative_nextRandBytes___3B
(JNIEnv *env, jobject object, jbyteArray bytes)
{
if (NULL == env) {
THROW(env, "java/lang/NullPointerException", "JNIEnv cannot be null.");
return JNI_FALSE;
}
if (NULL == object) {
THROW(env, "java/lang/NullPointerException", "Object cannot be null.");
return JNI_FALSE;
}
if (NULL == bytes) {
THROW(env, "java/lang/NullPointerException", "Buffer cannot be null.");
return JNI_FALSE;
Expand All @@ -174,6 +182,10 @@ JNIEXPORT jboolean JNICALL Java_org_apache_commons_crypto_random_OpenSslCryptoRa
return JNI_FALSE;
}
int b_len = (*env)->GetArrayLength(env, bytes);
if (b_len < 0) {
THROW(env, "java/lang/InternalError", "Cannot get array length.");
return JNI_FALSE;
}
int ret = openssl_rand_bytes((unsigned char *)b, b_len);
(*env)->ReleaseByteArrayElements(env, bytes, b, 0);

Expand Down

0 comments on commit efe41a6

Please sign in to comment.