Skip to content

Instantly share code, notes, and snippets.

@jiridanek
Created April 24, 2020 11:35
Show Gist options
  • Save jiridanek/279988855ca9d29d99c7218d8ca681f4 to your computer and use it in GitHub Desktop.
Save jiridanek/279988855ca9d29d99c7218d8ca681f4 to your computer and use it in GitHub Desktop.
jdk-tsan
==================
WARNING: ThreadSanitizer: unlock of an unlocked mutex (or by a wrong thread) (pid=29163)
#0 pthread_mutex_unlock <null> (java+0x43c097)
#1 ZIP_Get_From_Cache /home/jdanek/repos/jdk-tsan/src/java.base/share/native/libzip/zip_util.c:822:5 (libzip.so+0x337b)
Location is heap block of size 160 at 0x7b2800005320 allocated by thread T1:
#0 malloc <null> (java+0x42d685)
#1 os::malloc(unsigned long, MemoryType, NativeCallStack const&) /home/jdanek/repos/jdk-tsan/src/hotspot/share/runtime/os.cpp:698:18 (libjvm.so+0xb1f4a1)
Mutex M41 (0x7b2800005328) created at:
#0 pthread_mutex_unlock <null> (java+0x43c097)
#1 ZIP_Get_From_Cache /home/jdanek/repos/jdk-tsan/src/java.base/share/native/libzip/zip_util.c:822:5 (libzip.so+0x337b)
Thread T1 (tid=29177, running) created by main thread at:
#0 pthread_create <null> (java+0x464e4d)
#1 CallJavaMainInNewThread /home/jdanek/repos/jdk-tsan/src/java.base/unix/native/libjli/java_md_solinux.c:769:9 (libjli.so+0x9b7a)
SUMMARY: ThreadSanitizer: unlock of an unlocked mutex (or by a wrong thread) (/home/jdanek/repos/jdk-tsan/build/linux-x86_64-server-release/jdk/bin/java+0x43c097) in __interceptor_pthread_mutex_unlock
==================
==================
WARNING: ThreadSanitizer: unlock of an unlocked mutex (or by a wrong thread) (pid=29163)
#0 pthread_mutex_unlock <null> (java+0x43c097)
#1 ZIP_GetEntry2 /home/jdanek/repos/jdk-tsan/src/java.base/share/native/libzip/zip_util.c (libzip.so+0x4d1f)
#2 java.lang.ClassLoader.findBootstrapClassOrNull(Ljava/lang/String;)Ljava/lang/Class; ClassLoader.java:1257
#3 java.lang.System$2.findBootstrapClassOrNull(Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/lang/Class; System.java:2192
#4 jdk.internal.loader.ClassLoaders$BootClassLoader.loadClassOrNull(Ljava/lang/String;Z)Ljava/lang/Class; ClassLoaders.java:118
#5 jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(Ljava/lang/String;)Ljava/lang/Class; BuiltinClassLoader.java:642
#6 jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(Ljava/lang/String;Z)Ljava/lang/Class; BuiltinClassLoader.java:618
#7 jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(Ljava/lang/String;)Ljava/lang/Class; BuiltinClassLoader.java:642
#8 jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(Ljava/lang/String;Z)Ljava/lang/Class; BuiltinClassLoader.java:618
#9 jdk.internal.loader.BuiltinClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class; BuiltinClassLoader.java:581
#10 jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class; ClassLoaders.java:178
#11 java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class; ClassLoader.java:521
#12 (Generated Stub) <null>
#13 java.lang.Class.forName(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class; Class.java:417
#14 java.util.ServiceLoader$LazyClassPathLookupIterator.nextProviderClass()Ljava/lang/Class; ServiceLoader.java:1210
#15 java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService()Z ServiceLoader.java:1221
#16 java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext()Z ServiceLoader.java:1265
#17 java.util.ServiceLoader$2.hasNext()Z ServiceLoader.java:1300
#18 java.util.ServiceLoader$3.hasNext()Z ServiceLoader.java:1385
#19 jdk.internal.logger.BootstrapLogger$DetectBackend$1.run()Ljdk/internal/logger/BootstrapLogger$LoggingBackend; BootstrapLogger.java:890
#20 jdk.internal.logger.BootstrapLogger$DetectBackend$1.run()Ljava/lang/Object; BootstrapLogger.java:884
#21 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#22 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object; AccessController.java:312
#23 jdk.internal.logger.BootstrapLogger$DetectBackend.<clinit>()V BootstrapLogger.java:884
#24 (Generated Stub) <null>
#25 jdk.internal.logger.LazyLoggers.getLazyLogger(Ljava/lang/String;Ljava/lang/Module;)Ljava/lang/System$Logger; LazyLoggers.java:439
#26 jdk.internal.logger.LazyLoggers.getLogger(Ljava/lang/String;Ljava/lang/Module;)Ljava/lang/System$Logger; LazyLoggers.java:414
#27 java.lang.System.getLogger(Ljava/lang/String;)Ljava/lang/System$Logger; System.java:1691
#28 sun.management.jmxremote.ConnectorBootstrap.<clinit>()V ConnectorBootstrap.java:866
#29 (Generated Stub) <null>
#30 jdk.internal.agent.Agent.startAgent()V Agent.java:599
#31 (Generated Stub) <null>
Location is heap block of size 160 at 0x7b28000053c0 allocated by thread T1:
#0 malloc <null> (java+0x42d685)
#1 os::malloc(unsigned long, MemoryType, NativeCallStack const&) /home/jdanek/repos/jdk-tsan/src/hotspot/share/runtime/os.cpp:698:18 (libjvm.so+0xb1f4a1)
Mutex M307506086296966088 is already destroyed.
Thread T1 (tid=29177, running) created by main thread at:
#0 pthread_create <null> (java+0x464e4d)
#1 CallJavaMainInNewThread /home/jdanek/repos/jdk-tsan/src/java.base/unix/native/libjli/java_md_solinux.c:769:9 (libjli.so+0x9b7a)
SUMMARY: ThreadSanitizer: unlock of an unlocked mutex (or by a wrong thread) (/home/jdanek/repos/jdk-tsan/build/linux-x86_64-server-release/jdk/bin/java+0x43c097) in __interceptor_pthread_mutex_unlock
==================
Apr 21, 2020 10:55:18 PM java.lang.System$LoggerFinder lambda$accessProvider$0
WARNING: Failed to instantiate LoggerFinder provider; Using default.
==================
WARNING: ThreadSanitizer: unlock of an unlocked mutex (or by a wrong thread) (pid=29163)
#0 pthread_mutex_unlock <null> (java+0x43c097)
#1 ZIP_GetEntry2 /home/jdanek/repos/jdk-tsan/src/java.base/share/native/libzip/zip_util.c (libzip.so+0x4d1f)
#2 java.lang.Class.forName(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class; Class.java:417
#3 java.util.ResourceBundle$3.run()Ljava/lang/Class; ResourceBundle.java:1918
#4 java.util.ResourceBundle$3.run()Ljava/lang/Object; ResourceBundle.java:1914
#5 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#6 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object; AccessController.java:312
#7 java.util.ResourceBundle.getResourceBundleProviderType(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class; ResourceBundle.java:1913
#8 java.util.ResourceBundle.getServiceLoader(Ljava/lang/Module;Ljava/lang/String;)Ljava/util/ServiceLoader; ResourceBundle.java:1880
#9 java.util.ResourceBundle$CacheKey.getProviders()Ljava/util/ServiceLoader; ResourceBundle.java:699
#10 java.util.ResourceBundle$CacheKey.hasProviders()Z ResourceBundle.java:706
#11 java.util.ResourceBundle.loadBundle(Ljava/util/ResourceBundle$CacheKey;Ljava/util/List;Ljava/util/ResourceBundle$Control;Ljava/lang/Module;Ljava/lang/Module;)Ljava/util/ResourceBundle; ResourceBundle.java:1809
#12 java.util.ResourceBundle.findBundle(Ljava/lang/Module;Ljava/lang/Module;Ljava/util/ResourceBundle$CacheKey;Ljava/util/List;Ljava/util/List;ILjava/util/ResourceBundle$Control;Ljava/util/ResourceBundle;)Ljava/util/ResourceBundle; ResourceBundle.java:1774
#13 java.util.ResourceBundle.findBundle(Ljava/lang/Module;Ljava/lang/Module;Ljava/util/ResourceBundle$CacheKey;Ljava/util/List;Ljava/util/List;ILjava/util/ResourceBundle$Control;Ljava/util/ResourceBundle;)Ljava/util/ResourceBundle; ResourceBundle.java:1728
#14 java.util.ResourceBundle.findBundle(Ljava/lang/Module;Ljava/lang/Module;Ljava/util/ResourceBundle$CacheKey;Ljava/util/List;Ljava/util/List;ILjava/util/ResourceBundle$Control;Ljava/util/ResourceBundle;)Ljava/util/ResourceBundle; ResourceBundle.java:1728
#15 java.util.ResourceBundle.getBundleImpl(Ljava/lang/Module;Ljava/lang/Module;Ljava/lang/String;Ljava/util/Locale;Ljava/util/ResourceBundle$Control;)Ljava/util/ResourceBundle; ResourceBundle.java:1662
#16 java.util.ResourceBundle.getBundleImpl(Ljava/lang/String;Ljava/util/Locale;Ljava/lang/Class;Ljava/lang/ClassLoader;Ljava/util/ResourceBundle$Control;)Ljava/util/ResourceBundle; ResourceBundle.java:1582
#17 java.util.ResourceBundle.getBundleImpl(Ljava/lang/String;Ljava/util/Locale;Ljava/lang/Class;Ljava/util/ResourceBundle$Control;)Ljava/util/ResourceBundle; ResourceBundle.java:1556
#18 java.util.ResourceBundle.getBundle(Ljava/lang/String;)Ljava/util/ResourceBundle; ResourceBundle.java:857
#19 jdk.internal.agent.Agent.initResource()V Agent.java:680
#20 jdk.internal.agent.Agent.getText(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String; Agent.java:699
#21 sun.management.jmxremote.ConnectorBootstrap.startRemoteConnectorServer(Ljava/lang/String;Ljava/util/Properties;)Ljavax/management/remote/JMXConnectorServer; ConnectorBootstrap.java:488
#22 jdk.internal.agent.Agent.startAgent(Ljava/util/Properties;)V Agent.java:447
#23 jdk.internal.agent.Agent.startAgent()V Agent.java:599
#24 (Generated Stub) <null>
Location is heap block of size 160 at 0x7b2800005460 allocated by thread T1:
#0 malloc <null> (java+0x42d685)
#1 os::malloc(unsigned long, MemoryType, NativeCallStack const&) /home/jdanek/repos/jdk-tsan/src/hotspot/share/runtime/os.cpp:698:18 (libjvm.so+0xb1f4a1)
Mutex M955180007708185704 is already destroyed.
Thread T1 (tid=29177, running) created by main thread at:
#0 pthread_create <null> (java+0x464e4d)
#1 CallJavaMainInNewThread /home/jdanek/repos/jdk-tsan/src/java.base/unix/native/libjli/java_md_solinux.c:769:9 (libjli.so+0x9b7a)
SUMMARY: ThreadSanitizer: unlock of an unlocked mutex (or by a wrong thread) (/home/jdanek/repos/jdk-tsan/build/linux-x86_64-server-release/jdk/bin/java+0x43c097) in __interceptor_pthread_mutex_unlock
==================
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/home/jdanek/Downloads/AMQ7/apache-artemis-2.11.0/lib/jaxb-impl-2.2.7.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
_ _ _
/ \ ____| |_ ___ __ __(_) _____
/ _ \| _ \ __|/ _ \ \/ | |/ __/
/ ___ \ | \/ |_/ __/ |\/| | |\___ \
/_/ \_\| \__\____|_| |_|_|/___ /
Apache ActiveMQ Artemis 2.11.0
2020-04-21 22:55:30,814 INFO [org.apache.activemq.artemis.integration.bootstrap] AMQ101000: Starting ActiveMQ Artemis Server
2020-04-21 22:55:31,001 INFO [org.apache.activemq.artemis.core.server] AMQ221000: live Message Broker is starting with configuration Broker Configuration (clustered=false,journalDirectory=data/journal,bindingsDirectory=data/bindings,largeMessagesDirectory=data/large-messages,pagingDirectory=data/paging)
2020-04-21 22:55:31,200 INFO [org.apache.activemq.artemis.core.server] AMQ221013: Using NIO Journal
2020-04-21 22:55:31,509 INFO [org.apache.activemq.artemis.core.server] AMQ221057: Global Max Size is being adjusted to 1/2 of the JVM max size (-Xmx). being defined as 1,073,741,824
2020-04-21 22:55:31,765 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-server]. Adding protocol support for: CORE
2020-04-21 22:55:31,775 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-amqp-protocol]. Adding protocol support for: AMQP
2020-04-21 22:55:31,781 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-hornetq-protocol]. Adding protocol support for: HORNETQ
2020-04-21 22:55:31,787 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-mqtt-protocol]. Adding protocol support for: MQTT
2020-04-21 22:55:31,793 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-openwire-protocol]. Adding protocol support for: OPENWIRE
2020-04-21 22:55:31,799 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-stomp-protocol]. Adding protocol support for: STOMP
2020-04-21 22:55:33,006 INFO [org.apache.activemq.artemis.core.server] AMQ221034: Waiting indefinitely to obtain live lock
2020-04-21 22:55:33,008 INFO [org.apache.activemq.artemis.core.server] AMQ221035: Live Server Obtained live lock
==================
WARNING: ThreadSanitizer: data race (pid=29163)
Write of size 4 at 0x00009f335594 by thread T27:
#0 java.util.concurrent.locks.AbstractOwnableSynchronizer.setExclusiveOwnerThread(Ljava/lang/Thread;)V AbstractOwnableSynchronizer.java:74
#1 java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(I)Z ReentrantLock.java:153
#2 java.util.concurrent.locks.AbstractQueuedSynchronizer.release(I)Z AbstractQueuedSynchronizer.java:1302
#3 java.util.concurrent.locks.AbstractQueuedSynchronizer.fullyRelease(Ljava/util/concurrent/locks/AbstractQueuedSynchronizer$Node;)I AbstractQueuedSynchronizer.java:1765
#4 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(J)J AbstractQueuedSynchronizer.java:2115
#5 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take()Ljava/util/concurrent/RunnableScheduledFuture; ScheduledThreadPoolExecutor.java:1182
#6 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take()Ljava/lang/Object; ScheduledThreadPoolExecutor.java:899
#7 java.util.concurrent.ThreadPoolExecutor.getTask()Ljava/lang/Runnable; ThreadPoolExecutor.java:1054
#8 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1114
#9 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#10 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#11 (Generated Stub) <null>
Previous read of size 4 at 0x00009f335594 by thread T28:
#0 java.util.concurrent.locks.AbstractOwnableSynchronizer.getExclusiveOwnerThread()Ljava/lang/Thread; AbstractOwnableSynchronizer.java:84
#1 java.util.concurrent.locks.ReentrantLock$Sync.nonfairTryAcquire(I)Z ReentrantLock.java:135
#2 java.util.concurrent.locks.ReentrantLock$NonfairSync.tryAcquire(I)Z ReentrantLock.java:199
#3 java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(Ljava/util/concurrent/locks/AbstractQueuedSynchronizer$Node;I)Z AbstractQueuedSynchronizer.java:911
#4 java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(I)V AbstractQueuedSynchronizer.java:1240
#5 java.util.concurrent.locks.ReentrantLock.lock()V ReentrantLock.java:267
#6 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.offer(Ljava/lang/Runnable;)Z ScheduledThreadPoolExecutor.java:1100
#7 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.add(Ljava/lang/Runnable;)Z ScheduledThreadPoolExecutor.java:1127
#8 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.add(Ljava/lang/Object;)Z ScheduledThreadPoolExecutor.java:899
#9 java.util.concurrent.ScheduledThreadPoolExecutor.reExecutePeriodic(Ljava/util/concurrent/RunnableScheduledFuture;)V ScheduledThreadPoolExecutor.java:358
#10 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run()V ScheduledThreadPoolExecutor.java:307
#11 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#12 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#13 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#14 (Generated Stub) <null>
Thread T27 (tid=29360, running) created by thread T1 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.ensurePrestart()V ThreadPoolExecutor.java:1583
#5 java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(Ljava/util/concurrent/RunnableScheduledFuture;)V ScheduledThreadPoolExecutor.java:346
#6 java.util.concurrent.ScheduledThreadPoolExecutor.scheduleAtFixedRate(Ljava/lang/Runnable;JJLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture; ScheduledThreadPoolExecutor.java:632
#7 org.apache.activemq.artemis.core.transaction.impl.ResourceManagerImpl.start()V ResourceManagerImpl.java:75
#8 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart1(Z)Z ActiveMQServerImpl.java:2850
#9 org.apache.activemq.artemis.core.server.impl.LiveOnlyActivation.run()V LiveOnlyActivation.java:68
#10 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.internalStart()V ActiveMQServerImpl.java:601
#11 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.start()V ActiveMQServerImpl.java:528
#12 org.apache.activemq.artemis.integration.FileBroker.start()V FileBroker.java:70
#13 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:84
#14 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#15 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#16 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#17 (Generated Stub) <null>
#18 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#19 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#20 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#21 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#22 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#23 (Generated Stub) <null>
Thread T28 (tid=29361, running) created by thread T1 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.ensurePrestart()V ThreadPoolExecutor.java:1583
#5 java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(Ljava/util/concurrent/RunnableScheduledFuture;)V ScheduledThreadPoolExecutor.java:346
#6 java.util.concurrent.ScheduledThreadPoolExecutor.scheduleWithFixedDelay(Ljava/lang/Runnable;JJLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture; ScheduledThreadPoolExecutor.java:680
#7 org.apache.activemq.artemis.core.server.ActiveMQScheduledComponent.start()V ActiveMQScheduledComponent.java:171
#8 org.apache.activemq.artemis.core.server.reload.ReloadManagerImpl.addCallback(Ljava/net/URL;Lorg/apache/activemq/artemis/core/server/reload/ReloadCallback;)V ReloadManagerImpl.java:59
#9 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart1(Z)Z ActiveMQServerImpl.java:2859
#10 org.apache.activemq.artemis.core.server.impl.LiveOnlyActivation.run()V LiveOnlyActivation.java:68
#11 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.internalStart()V ActiveMQServerImpl.java:601
#12 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.start()V ActiveMQServerImpl.java:528
#13 org.apache.activemq.artemis.integration.FileBroker.start()V FileBroker.java:70
#14 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:84
#15 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#16 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#17 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#18 (Generated Stub) <null>
#19 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#20 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#21 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#22 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#23 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#24 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race AbstractOwnableSynchronizer.java:74 in java.util.concurrent.locks.AbstractOwnableSynchronizer.setExclusiveOwnerThread(Ljava/lang/Thread;)V
==================
==================
WARNING: ThreadSanitizer: data race (pid=29163)
Write of size 4 at 0x00009dd6fa4c by thread T35:
#0 java.util.concurrent.locks.AbstractOwnableSynchronizer.setExclusiveOwnerThread(Ljava/lang/Thread;)V AbstractOwnableSynchronizer.java:74
#1 java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(I)Z ReentrantLock.java:153
#2 java.util.concurrent.locks.AbstractQueuedSynchronizer.release(I)Z AbstractQueuedSynchronizer.java:1302
#3 java.util.concurrent.locks.ReentrantLock.unlock()V ReentrantLock.java:439
#4 java.util.concurrent.LinkedBlockingQueue.take()Ljava/lang/Object; LinkedBlockingQueue.java:440
#5 java.util.concurrent.ThreadPoolExecutor.getTask()Ljava/lang/Runnable; ThreadPoolExecutor.java:1054
#6 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1114
#7 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#8 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#9 (Generated Stub) <null>
Previous read of size 4 at 0x00009dd6fa4c by thread T34:
#0 java.util.concurrent.locks.AbstractOwnableSynchronizer.getExclusiveOwnerThread()Ljava/lang/Thread; AbstractOwnableSynchronizer.java:84
#1 java.util.concurrent.locks.ReentrantLock$Sync.nonfairTryAcquire(I)Z ReentrantLock.java:135
#2 java.util.concurrent.locks.ReentrantLock$NonfairSync.tryAcquire(I)Z ReentrantLock.java:199
#3 java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(Ljava/util/concurrent/locks/AbstractQueuedSynchronizer$Node;I)Z AbstractQueuedSynchronizer.java:911
#4 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await()V AbstractQueuedSynchronizer.java:2085
#5 java.util.concurrent.LinkedBlockingQueue.take()Ljava/lang/Object; LinkedBlockingQueue.java:433
#6 java.util.concurrent.ThreadPoolExecutor.getTask()Ljava/lang/Runnable; ThreadPoolExecutor.java:1054
#7 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1114
#8 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#9 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#10 (Generated Stub) <null>
Thread T35 (tid=29514, running) created by thread T1 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1343
#5 java.util.concurrent.ExecutorCompletionService.submit(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Future; ExecutorCompletionService.java:184
#6 java.util.concurrent.AbstractExecutorService.doInvokeAny(Ljava/util/Collection;ZJ)Ljava/lang/Object; AbstractExecutorService.java:182
#7 java.util.concurrent.AbstractExecutorService.invokeAny(Ljava/util/Collection;JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; AbstractExecutorService.java:230
#8 org.apache.activemq.artemis.utils.UUIDGenerator.findFirstMatchingHardwareAddress(Ljava/util/List;)[B UUIDGenerator.java:300
#9 org.apache.activemq.artemis.utils.UUIDGenerator.getHardwareAddress()[B UUIDGenerator.java:154
#10 org.apache.activemq.artemis.utils.UUIDGenerator.getAddressBytes()[B UUIDGenerator.java:222
#11 org.apache.activemq.artemis.utils.UUIDGenerator.generateStringUUID()Ljava/lang/String; UUIDGenerator.java:180
#12 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addBinding(Lorg/apache/activemq/artemis/core/postoffice/Binding;)V PostOfficeImpl.java:857
#13 org.apache.activemq.artemis.core.server.impl.PostOfficeJournalLoader.initQueues(Ljava/util/Map;Ljava/util/List;)V PostOfficeJournalLoader.java:182
#14 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.loadJournals()[Lorg/apache/activemq/artemis/core/journal/JournalLoadInformation; ActiveMQServerImpl.java:3202
#15 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart2(Z)V ActiveMQServerImpl.java:2890
#16 org.apache.activemq.artemis.core.server.impl.LiveOnlyActivation.run()V LiveOnlyActivation.java:76
#17 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.internalStart()V ActiveMQServerImpl.java:601
#18 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.start()V ActiveMQServerImpl.java:528
#19 org.apache.activemq.artemis.integration.FileBroker.start()V FileBroker.java:70
#20 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:84
#21 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#22 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#23 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#24 (Generated Stub) <null>
#25 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#26 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#27 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#28 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#29 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#30 (Generated Stub) <null>
Thread T34 (tid=29513, running) created by thread T1 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1343
#5 java.util.concurrent.ExecutorCompletionService.submit(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Future; ExecutorCompletionService.java:184
#6 java.util.concurrent.AbstractExecutorService.doInvokeAny(Ljava/util/Collection;ZJ)Ljava/lang/Object; AbstractExecutorService.java:173
#7 java.util.concurrent.AbstractExecutorService.invokeAny(Ljava/util/Collection;JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; AbstractExecutorService.java:230
#8 org.apache.activemq.artemis.utils.UUIDGenerator.findFirstMatchingHardwareAddress(Ljava/util/List;)[B UUIDGenerator.java:300
#9 org.apache.activemq.artemis.utils.UUIDGenerator.getHardwareAddress()[B UUIDGenerator.java:154
#10 org.apache.activemq.artemis.utils.UUIDGenerator.getAddressBytes()[B UUIDGenerator.java:222
#11 org.apache.activemq.artemis.utils.UUIDGenerator.generateStringUUID()Ljava/lang/String; UUIDGenerator.java:180
#12 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addBinding(Lorg/apache/activemq/artemis/core/postoffice/Binding;)V PostOfficeImpl.java:857
#13 org.apache.activemq.artemis.core.server.impl.PostOfficeJournalLoader.initQueues(Ljava/util/Map;Ljava/util/List;)V PostOfficeJournalLoader.java:182
#14 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.loadJournals()[Lorg/apache/activemq/artemis/core/journal/JournalLoadInformation; ActiveMQServerImpl.java:3202
#15 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart2(Z)V ActiveMQServerImpl.java:2890
#16 org.apache.activemq.artemis.core.server.impl.LiveOnlyActivation.run()V LiveOnlyActivation.java:76
#17 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.internalStart()V ActiveMQServerImpl.java:601
#18 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.start()V ActiveMQServerImpl.java:528
#19 org.apache.activemq.artemis.integration.FileBroker.start()V FileBroker.java:70
#20 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:84
#21 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#22 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#23 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#24 (Generated Stub) <null>
#25 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#26 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#27 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#28 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#29 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#30 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race AbstractOwnableSynchronizer.java:74 in java.util.concurrent.locks.AbstractOwnableSynchronizer.setExclusiveOwnerThread(Ljava/lang/Thread;)V
==================
==================
WARNING: ThreadSanitizer: data race (pid=29163)
Read of size 4 at 0x00009dd6fb04 by thread T34:
#0 java.util.concurrent.locks.AbstractOwnableSynchronizer.getExclusiveOwnerThread()Ljava/lang/Thread; AbstractOwnableSynchronizer.java:84
#1 java.util.concurrent.locks.ReentrantLock$Sync.nonfairTryAcquire(I)Z ReentrantLock.java:135
#2 java.util.concurrent.locks.ReentrantLock$NonfairSync.tryAcquire(I)Z ReentrantLock.java:199
#3 java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(Ljava/util/concurrent/locks/AbstractQueuedSynchronizer$Node;I)Z AbstractQueuedSynchronizer.java:911
#4 java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(I)V AbstractQueuedSynchronizer.java:1240
#5 java.util.concurrent.locks.ReentrantLock.lock()V ReentrantLock.java:267
#6 java.util.concurrent.ThreadPoolExecutor.processWorkerExit(Ljava/util/concurrent/ThreadPoolExecutor$Worker;Z)V ThreadPoolExecutor.java:986
#7 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1142
#8 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#9 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#10 (Generated Stub) <null>
Previous write of size 4 at 0x00009dd6fb04 by thread T35:
#0 java.util.concurrent.locks.AbstractOwnableSynchronizer.setExclusiveOwnerThread(Ljava/lang/Thread;)V AbstractOwnableSynchronizer.java:74
#1 java.util.concurrent.locks.ReentrantLock$Sync.nonfairTryAcquire(I)Z ReentrantLock.java:131
#2 java.util.concurrent.locks.ReentrantLock$NonfairSync.tryAcquire(I)Z ReentrantLock.java:199
#3 java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(I)V AbstractQueuedSynchronizer.java:1239
#4 java.util.concurrent.locks.ReentrantLock.lock()V ReentrantLock.java:267
#5 java.util.concurrent.ThreadPoolExecutor.interruptIdleWorkers(Z)V ThreadPoolExecutor.java:785
#6 java.util.concurrent.ThreadPoolExecutor.tryTerminate()V ThreadPoolExecutor.java:709
#7 java.util.concurrent.ThreadPoolExecutor.processWorkerExit(Ljava/util/concurrent/ThreadPoolExecutor$Worker;Z)V ThreadPoolExecutor.java:994
#8 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1142
#9 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#10 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#11 (Generated Stub) <null>
Thread T34 (tid=29513, running) created by thread T1 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1343
#5 java.util.concurrent.ExecutorCompletionService.submit(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Future; ExecutorCompletionService.java:184
#6 java.util.concurrent.AbstractExecutorService.doInvokeAny(Ljava/util/Collection;ZJ)Ljava/lang/Object; AbstractExecutorService.java:173
#7 java.util.concurrent.AbstractExecutorService.invokeAny(Ljava/util/Collection;JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; AbstractExecutorService.java:230
#8 org.apache.activemq.artemis.utils.UUIDGenerator.findFirstMatchingHardwareAddress(Ljava/util/List;)[B UUIDGenerator.java:300
#9 org.apache.activemq.artemis.utils.UUIDGenerator.getHardwareAddress()[B UUIDGenerator.java:154
#10 org.apache.activemq.artemis.utils.UUIDGenerator.getAddressBytes()[B UUIDGenerator.java:222
#11 org.apache.activemq.artemis.utils.UUIDGenerator.generateStringUUID()Ljava/lang/String; UUIDGenerator.java:180
#12 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addBinding(Lorg/apache/activemq/artemis/core/postoffice/Binding;)V PostOfficeImpl.java:857
#13 org.apache.activemq.artemis.core.server.impl.PostOfficeJournalLoader.initQueues(Ljava/util/Map;Ljava/util/List;)V PostOfficeJournalLoader.java:182
#14 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.loadJournals()[Lorg/apache/activemq/artemis/core/journal/JournalLoadInformation; ActiveMQServerImpl.java:3202
#15 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart2(Z)V ActiveMQServerImpl.java:2890
#16 org.apache.activemq.artemis.core.server.impl.LiveOnlyActivation.run()V LiveOnlyActivation.java:76
#17 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.internalStart()V ActiveMQServerImpl.java:601
#18 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.start()V ActiveMQServerImpl.java:528
#19 org.apache.activemq.artemis.integration.FileBroker.start()V FileBroker.java:70
#20 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:84
#21 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#22 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#23 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#24 (Generated Stub) <null>
#25 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#26 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#27 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#28 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#29 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#30 (Generated Stub) <null>
Thread T35 (tid=29514, running) created by thread T1 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1343
#5 java.util.concurrent.ExecutorCompletionService.submit(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Future; ExecutorCompletionService.java:184
#6 java.util.concurrent.AbstractExecutorService.doInvokeAny(Ljava/util/Collection;ZJ)Ljava/lang/Object; AbstractExecutorService.java:182
#7 java.util.concurrent.AbstractExecutorService.invokeAny(Ljava/util/Collection;JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; AbstractExecutorService.java:230
#8 org.apache.activemq.artemis.utils.UUIDGenerator.findFirstMatchingHardwareAddress(Ljava/util/List;)[B UUIDGenerator.java:300
#9 org.apache.activemq.artemis.utils.UUIDGenerator.getHardwareAddress()[B UUIDGenerator.java:154
#10 org.apache.activemq.artemis.utils.UUIDGenerator.getAddressBytes()[B UUIDGenerator.java:222
#11 org.apache.activemq.artemis.utils.UUIDGenerator.generateStringUUID()Ljava/lang/String; UUIDGenerator.java:180
#12 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addBinding(Lorg/apache/activemq/artemis/core/postoffice/Binding;)V PostOfficeImpl.java:857
#13 org.apache.activemq.artemis.core.server.impl.PostOfficeJournalLoader.initQueues(Ljava/util/Map;Ljava/util/List;)V PostOfficeJournalLoader.java:182
#14 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.loadJournals()[Lorg/apache/activemq/artemis/core/journal/JournalLoadInformation; ActiveMQServerImpl.java:3202
#15 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart2(Z)V ActiveMQServerImpl.java:2890
#16 org.apache.activemq.artemis.core.server.impl.LiveOnlyActivation.run()V LiveOnlyActivation.java:76
#17 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.internalStart()V ActiveMQServerImpl.java:601
#18 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.start()V ActiveMQServerImpl.java:528
#19 org.apache.activemq.artemis.integration.FileBroker.start()V FileBroker.java:70
#20 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:84
#21 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#22 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#23 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#24 (Generated Stub) <null>
#25 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#26 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#27 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#28 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#29 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#30 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race AbstractOwnableSynchronizer.java:84 in java.util.concurrent.locks.AbstractOwnableSynchronizer.getExclusiveOwnerThread()Ljava/lang/Thread;
==================
2020-04-21 22:56:40,448 INFO [org.apache.activemq.artemis.core.server] AMQ221080: Deploying address DLQ supporting [ANYCAST]
2020-04-21 22:56:40,452 INFO [org.apache.activemq.artemis.core.server] AMQ221003: Deploying ANYCAST queue DLQ on address DLQ
2020-04-21 22:56:40,455 INFO [org.apache.activemq.artemis.core.server] AMQ221080: Deploying address ExpiryQueue supporting [ANYCAST]
2020-04-21 22:56:40,458 INFO [org.apache.activemq.artemis.core.server] AMQ221003: Deploying ANYCAST queue ExpiryQueue on address ExpiryQueue
==================
WARNING: ThreadSanitizer: data race (pid=29163)
Read of size 4 at 0x00009f3243bc by thread T37:
#0 java.util.concurrent.locks.AbstractOwnableSynchronizer.getExclusiveOwnerThread()Ljava/lang/Thread; AbstractOwnableSynchronizer.java:84
#1 java.util.concurrent.locks.ReentrantLock$Sync.nonfairTryAcquire(I)Z ReentrantLock.java:135
#2 java.util.concurrent.locks.ReentrantLock$NonfairSync.tryAcquire(I)Z ReentrantLock.java:199
#3 java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterruptibly(I)V AbstractQueuedSynchronizer.java:1262
#4 java.util.concurrent.locks.ReentrantLock.lockInterruptibly()V ReentrantLock.java:317
#5 java.util.concurrent.LinkedBlockingQueue.poll(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; LinkedBlockingQueue.java:453
#6 org.apache.activemq.artemis.utils.ActiveMQThreadPoolExecutor$ThreadPoolQueue.poll(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Runnable; ActiveMQThreadPoolExecutor.java:112
#7 org.apache.activemq.artemis.utils.ActiveMQThreadPoolExecutor$ThreadPoolQueue.poll(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; ActiveMQThreadPoolExecutor.java:45
#8 java.util.concurrent.ThreadPoolExecutor.getTask()Ljava/lang/Runnable; ThreadPoolExecutor.java:1053
#9 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1114
#10 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#11 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#12 (Generated Stub) <null>
Previous write of size 4 at 0x00009f3243bc by thread T32:
#0 java.util.concurrent.locks.AbstractOwnableSynchronizer.setExclusiveOwnerThread(Ljava/lang/Thread;)V AbstractOwnableSynchronizer.java:74
#1 java.util.concurrent.locks.ReentrantLock$Sync.nonfairTryAcquire(I)Z ReentrantLock.java:131
#2 java.util.concurrent.locks.ReentrantLock$NonfairSync.tryAcquire(I)Z ReentrantLock.java:199
#3 java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterruptibly(I)V AbstractQueuedSynchronizer.java:1262
#4 java.util.concurrent.locks.ReentrantLock.lockInterruptibly()V ReentrantLock.java:317
#5 java.util.concurrent.LinkedBlockingQueue.poll(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; LinkedBlockingQueue.java:453
#6 org.apache.activemq.artemis.utils.ActiveMQThreadPoolExecutor$ThreadPoolQueue.poll(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Runnable; ActiveMQThreadPoolExecutor.java:112
#7 org.apache.activemq.artemis.utils.ActiveMQThreadPoolExecutor$ThreadPoolQueue.poll(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; ActiveMQThreadPoolExecutor.java:45
#8 java.util.concurrent.ThreadPoolExecutor.getTask()Ljava/lang/Runnable; ThreadPoolExecutor.java:1053
#9 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1114
#10 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#11 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#12 (Generated Stub) <null>
Thread T37 (tid=30154, running) created by thread T1 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.server.impl.QueueImpl.deliverAsync(Z)V QueueImpl.java:1135
#9 org.apache.activemq.artemis.core.server.impl.QueueImpl.deliverAsync()V QueueImpl.java:1127
#10 org.apache.activemq.artemis.core.server.impl.QueueImpl.resume()V QueueImpl.java:2564
#11 org.apache.activemq.artemis.core.server.impl.PostOfficeJournalLoader.postLoad(Lorg/apache/activemq/artemis/core/journal/Journal;Lorg/apache/activemq/artemis/core/transaction/ResourceManager;Ljava/util/Map;)V PostOfficeJournalLoader.java:294
#12 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.loadMessageJournal(Lorg/apache/activemq/artemis/core/postoffice/PostOffice;Lorg/apache/activemq/artemis/core/paging/PagingManager;Lorg/apache/activemq/artemis/core/tra AbstractJournalStorageManager.java:1211
#13 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.loadJournals()[Lorg/apache/activemq/artemis/core/journal/JournalLoadInformation; ActiveMQServerImpl.java:3212
#14 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart2(Z)V ActiveMQServerImpl.java:2890
#15 org.apache.activemq.artemis.core.server.impl.LiveOnlyActivation.run()V LiveOnlyActivation.java:76
#16 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.internalStart()V ActiveMQServerImpl.java:601
#17 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.start()V ActiveMQServerImpl.java:528
#18 org.apache.activemq.artemis.integration.FileBroker.start()V FileBroker.java:70
#19 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:84
#20 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#21 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#22 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#23 (Generated Stub) <null>
#24 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#25 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#26 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#27 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#28 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#29 (Generated Stub) <null>
Thread T32 (tid=29459, running) created by thread T29 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.server.ActiveMQScheduledComponent$3.run()V ActiveMQScheduledComponent.java:314
#9 java.util.concurrent.Executors$RunnableAdapter.call()Ljava/lang/Object; Executors.java:515
#10 java.util.concurrent.FutureTask.runAndReset()Z FutureTask.java:305
#11 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run()V ScheduledThreadPoolExecutor.java:305
#12 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#13 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#14 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#15 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race AbstractOwnableSynchronizer.java:84 in java.util.concurrent.locks.AbstractOwnableSynchronizer.getExclusiveOwnerThread()Ljava/lang/Thread;
==================
2020-04-21 22:56:43,103 INFO [org.apache.activemq.artemis.core.server] AMQ221020: Started EPOLL Acceptor at 0.0.0.0:61616 for protocols [CORE,MQTT,AMQP,STOMP,HORNETQ,OPENWIRE]
2020-04-21 22:56:43,120 INFO [org.apache.activemq.artemis.core.server] AMQ221020: Started EPOLL Acceptor at 0.0.0.0:5445 for protocols [HORNETQ,STOMP]
2020-04-21 22:56:43,143 INFO [org.apache.activemq.artemis.core.server] AMQ221020: Started EPOLL Acceptor at 0.0.0.0:5672 for protocols [AMQP]
2020-04-21 22:56:43,162 INFO [org.apache.activemq.artemis.core.server] AMQ221020: Started EPOLL Acceptor at 0.0.0.0:1883 for protocols [MQTT]
2020-04-21 22:56:43,181 INFO [org.apache.activemq.artemis.core.server] AMQ221020: Started EPOLL Acceptor at 0.0.0.0:61613 for protocols [STOMP]
2020-04-21 22:56:43,193 INFO [org.apache.activemq.artemis.core.server] AMQ221007: Server is now live
2020-04-21 22:56:43,195 INFO [org.apache.activemq.artemis.core.server] AMQ221001: Apache ActiveMQ Artemis Message Broker version 2.11.0 [amq, nodeID=0eeb0c95-83f6-11ea-a2c7-02429c34a0aa]
2020-04-21 22:56:45,825 INFO [org.apache.activemq.hawtio.branding.PluginContextListener] Initialized activemq-branding plugin
2020-04-21 22:56:46,752 INFO [org.apache.activemq.hawtio.plugin.PluginContextListener] Initialized artemis-plugin plugin
2020-04-21 22:56:52,856 INFO [io.hawt.HawtioContextListener] Initialising hawtio services
2020-04-21 22:56:53,364 INFO [io.hawt.system.ConfigManager] Configuration will be discovered via system properties
2020-04-21 22:56:53,409 INFO [io.hawt.jmx.JmxTreeWatcher] Welcome to hawtio 1.5.5 : http://hawt.io/ : Don't cha wish your console was hawt like me? ;-)
2020-04-21 22:56:53,514 INFO [io.hawt.jmx.UploadManager] Using file upload directory: /home/jdanek/Downloads/AMQ7/apache-artemis-2.11.0/i0/tmp/uploads
2020-04-21 22:56:53,918 INFO [io.hawt.web.AuthenticationFilter] Starting hawtio authentication filter, JAAS realm: "activemq" authorized role(s): "amq" role principal classes: "org.apache.activemq.artemis.spi.core.security.jaas.RolePrincipal"
2020-04-21 22:56:54,668 INFO [io.hawt.web.JolokiaConfiguredAgentServlet] Jolokia overridden property: [key=policyLocation, value=file:/home/jdanek/Downloads/AMQ7/apache-artemis-2.11.0/i0/etc/jolokia-access.xml]
2020-04-21 22:56:55,291 INFO [io.hawt.web.RBACMBeanInvoker] Using MBean [hawtio:type=security,area=jmx,rank=0,name=HawtioDummyJMXSecurity] for role based access control
2020-04-21 22:56:59,667 INFO [io.hawt.system.ProxyWhitelist] Initial proxy whitelist: [localhost, 127.0.0.1, 10.40.208.79, 192.168.86.172]
==================
WARNING: ThreadSanitizer: data race (pid=29163)
Read of size 4 at 0x000080e5bf94 by thread T47:
#0 org.eclipse.jetty.util.BlockingArrayQueue.poll(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; BlockingArrayQueue.java:402
#1 org.eclipse.jetty.util.thread.QueuedThreadPool.idleJobPoll()Ljava/lang/Runnable; QueuedThreadPool.java:564
#2 org.eclipse.jetty.util.thread.QueuedThreadPool.access$800(Lorg/eclipse/jetty/util/thread/QueuedThreadPool;)Ljava/lang/Runnable; QueuedThreadPool.java:49
#3 org.eclipse.jetty.util.thread.QueuedThreadPool$2.run()V QueuedThreadPool.java:627
#4 java.lang.Thread.run()V Thread.java:835
#5 (Generated Stub) <null>
Previous write of size 4 at 0x000080e5bf94 by thread T1 (mutexes: write M222365234243827592, write M1087337837712384496, write M603482352729136880, write M819373659864033344, write M568860930589083936, write M215891309791941368, write M454582090055185576, write M491455312004312776, write M511070, write M511721, write M143833715757792312):
#0 org.eclipse.jetty.util.BlockingArrayQueue.offer(Ljava/lang/Object;)Z BlockingArrayQueue.java:291
#1 org.eclipse.jetty.util.thread.QueuedThreadPool.execute(Ljava/lang/Runnable;)V QueuedThreadPool.java:381
#2 org.eclipse.jetty.io.SelectorManager.execute(Ljava/lang/Runnable;)V SelectorManager.java:107
#3 org.eclipse.jetty.io.ManagedSelector.doStart()V ManagedSelector.java:101
#4 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#5 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#6 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:113
#7 org.eclipse.jetty.io.SelectorManager.doStart()V SelectorManager.java:240
#8 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#9 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#10 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:105
#11 org.eclipse.jetty.server.AbstractConnector.doStart()V AbstractConnector.java:270
#12 org.eclipse.jetty.server.AbstractNetworkConnector.doStart()V AbstractNetworkConnector.java:81
#13 org.eclipse.jetty.server.ServerConnector.doStart()V ServerConnector.java:236
#14 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#15 org.eclipse.jetty.server.Server.doStart()V Server.java:431
#16 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#17 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#18 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#19 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#20 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#21 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#22 (Generated Stub) <null>
#23 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#24 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#25 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#26 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#27 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#28 (Generated Stub) <null>
Mutex M222365234243827592 is already destroyed.
Mutex M1087337837712384496 is already destroyed.
Mutex M603482352729136880 is already destroyed.
Mutex M819373659864033344 is already destroyed.
Mutex M568860930589083936 is already destroyed.
Mutex M215891309791941368 is already destroyed.
Mutex M454582090055185576 is already destroyed.
Mutex M491455312004312776 is already destroyed.
Mutex M511070 (0x00008082a730) created at:
#0 __tsan_java_mutex_lock <null> (java+0x487673)
#1 <null> <null> (0x7efd0aa243f5)
#2 org.eclipse.jetty.server.Server.doStart()V Server.java:431
#3 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#4 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#5 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#6 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#7 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#8 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#9 (Generated Stub) <null>
#10 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#11 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#12 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#13 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#14 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#15 (Generated Stub) <null>
Mutex M511721 (0x00008082a840) created at:
#0 __tsan_java_mutex_lock <null> (java+0x487673)
#1 <null> <null> (0x7efd0aa243f5)
#2 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#3 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:105
#4 org.eclipse.jetty.server.AbstractConnector.doStart()V AbstractConnector.java:270
#5 org.eclipse.jetty.server.AbstractNetworkConnector.doStart()V AbstractNetworkConnector.java:81
#6 org.eclipse.jetty.server.ServerConnector.doStart()V ServerConnector.java:236
#7 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#8 org.eclipse.jetty.server.Server.doStart()V Server.java:431
#9 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#10 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#11 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#12 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#13 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#14 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#15 (Generated Stub) <null>
#16 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#17 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#18 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#19 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#20 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#21 (Generated Stub) <null>
Mutex M143833715757792312 is already destroyed.
Thread T47 (tid=30226, running) created by thread T1 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 org.eclipse.jetty.util.thread.QueuedThreadPool.startThreads(I)Z QueuedThreadPool.java:476
#4 org.eclipse.jetty.util.thread.QueuedThreadPool.doStart()V QueuedThreadPool.java:116
#5 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#6 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#7 org.eclipse.jetty.server.Server.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V Server.java:452
#8 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:113
#9 org.eclipse.jetty.server.handler.AbstractHandler.doStart()V AbstractHandler.java:113
#10 org.eclipse.jetty.server.Server.doStart()V Server.java:419
#11 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#12 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#13 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#14 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#15 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#16 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#17 (Generated Stub) <null>
#18 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#19 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#20 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#21 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#22 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#23 (Generated Stub) <null>
Thread T1 (tid=29177, running) created by main thread at:
#0 pthread_create <null> (java+0x464e4d)
#1 CallJavaMainInNewThread /home/jdanek/repos/jdk-tsan/src/java.base/unix/native/libjli/java_md_solinux.c:769:9 (libjli.so+0x9b7a)
SUMMARY: ThreadSanitizer: data race BlockingArrayQueue.java:402 in org.eclipse.jetty.util.BlockingArrayQueue.poll(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
==================
==================
WARNING: ThreadSanitizer: data race (pid=29163)
Read of size 4 at 0x000080e5bf98 by thread T48:
#0 org.eclipse.jetty.util.BlockingArrayQueue.poll(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; BlockingArrayQueue.java:402
#1 org.eclipse.jetty.util.thread.QueuedThreadPool.idleJobPoll()Ljava/lang/Runnable; QueuedThreadPool.java:564
#2 org.eclipse.jetty.util.thread.QueuedThreadPool.access$800(Lorg/eclipse/jetty/util/thread/QueuedThreadPool;)Ljava/lang/Runnable; QueuedThreadPool.java:49
#3 org.eclipse.jetty.util.thread.QueuedThreadPool$2.run()V QueuedThreadPool.java:627
#4 java.lang.Thread.run()V Thread.java:835
#5 (Generated Stub) <null>
Previous write of size 4 at 0x000080e5bf98 by thread T1 (mutexes: write M222365234243827592, write M1087337837712384496, write M603482352729136880, write M819373659864033344, write M568860930589083936, write M215891309791941368, write M454582090055185576, write M491455312004312776, write M511070, write M511721, write M146085515571478304):
#0 org.eclipse.jetty.util.BlockingArrayQueue.offer(Ljava/lang/Object;)Z BlockingArrayQueue.java:291
#1 org.eclipse.jetty.util.thread.QueuedThreadPool.execute(Ljava/lang/Runnable;)V QueuedThreadPool.java:381
#2 org.eclipse.jetty.io.SelectorManager.execute(Ljava/lang/Runnable;)V SelectorManager.java:107
#3 org.eclipse.jetty.io.ManagedSelector.doStart()V ManagedSelector.java:96
#4 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#5 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#6 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:113
#7 org.eclipse.jetty.io.SelectorManager.doStart()V SelectorManager.java:240
#8 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#9 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#10 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:105
#11 org.eclipse.jetty.server.AbstractConnector.doStart()V AbstractConnector.java:270
#12 org.eclipse.jetty.server.AbstractNetworkConnector.doStart()V AbstractNetworkConnector.java:81
#13 org.eclipse.jetty.server.ServerConnector.doStart()V ServerConnector.java:236
#14 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#15 org.eclipse.jetty.server.Server.doStart()V Server.java:431
#16 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#17 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#18 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#19 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#20 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#21 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#22 (Generated Stub) <null>
#23 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#24 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#25 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#26 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#27 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#28 (Generated Stub) <null>
Mutex M222365234243827592 is already destroyed.
Mutex M1087337837712384496 is already destroyed.
Mutex M603482352729136880 is already destroyed.
Mutex M819373659864033344 is already destroyed.
Mutex M568860930589083936 is already destroyed.
Mutex M215891309791941368 is already destroyed.
Mutex M454582090055185576 is already destroyed.
Mutex M491455312004312776 is already destroyed.
Mutex M511070 (0x00008082a730) created at:
#0 __tsan_java_mutex_lock <null> (java+0x487673)
#1 <null> <null> (0x7efd0aa243f5)
#2 org.eclipse.jetty.server.Server.doStart()V Server.java:431
#3 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#4 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#5 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#6 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#7 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#8 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#9 (Generated Stub) <null>
#10 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#11 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#12 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#13 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#14 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#15 (Generated Stub) <null>
Mutex M511721 (0x00008082a840) created at:
#0 __tsan_java_mutex_lock <null> (java+0x487673)
#1 <null> <null> (0x7efd0aa243f5)
#2 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#3 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:105
#4 org.eclipse.jetty.server.AbstractConnector.doStart()V AbstractConnector.java:270
#5 org.eclipse.jetty.server.AbstractNetworkConnector.doStart()V AbstractNetworkConnector.java:81
#6 org.eclipse.jetty.server.ServerConnector.doStart()V ServerConnector.java:236
#7 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#8 org.eclipse.jetty.server.Server.doStart()V Server.java:431
#9 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#10 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#11 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#12 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#13 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#14 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#15 (Generated Stub) <null>
#16 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#17 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#18 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#19 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#20 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#21 (Generated Stub) <null>
Mutex M146085515571478304 is already destroyed.
Thread T48 (tid=30227, running) created by thread T1 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 org.eclipse.jetty.util.thread.QueuedThreadPool.startThreads(I)Z QueuedThreadPool.java:476
#4 org.eclipse.jetty.util.thread.QueuedThreadPool.doStart()V QueuedThreadPool.java:116
#5 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#6 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#7 org.eclipse.jetty.server.Server.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V Server.java:452
#8 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:113
#9 org.eclipse.jetty.server.handler.AbstractHandler.doStart()V AbstractHandler.java:113
#10 org.eclipse.jetty.server.Server.doStart()V Server.java:419
#11 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#12 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#13 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#14 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#15 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#16 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#17 (Generated Stub) <null>
#18 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#19 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#20 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#21 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#22 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#23 (Generated Stub) <null>
Thread T1 (tid=29177, running) created by main thread at:
#0 pthread_create <null> (java+0x464e4d)
#1 CallJavaMainInNewThread /home/jdanek/repos/jdk-tsan/src/java.base/unix/native/libjli/java_md_solinux.c:769:9 (libjli.so+0x9b7a)
SUMMARY: ThreadSanitizer: data race BlockingArrayQueue.java:402 in org.eclipse.jetty.util.BlockingArrayQueue.poll(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
==================
==================
WARNING: ThreadSanitizer: data race (pid=29163)
Read of size 4 at 0x00009e77bee0 by thread T48 (mutexes: write M174233013242544120):
#0 org.eclipse.jetty.io.ManagedSelector.access$800(Lorg/eclipse/jetty/io/ManagedSelector;)Ljava/nio/channels/Selector; ManagedSelector.java:60
#1 org.eclipse.jetty.io.ManagedSelector$SelectorProducer.select()Z ManagedSelector.java:297
#2 org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce()Ljava/lang/Runnable; ManagedSelector.java:254
#3 org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume()V ExecuteProduceConsume.java:147
#4 org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produce()V ExecuteProduceConsume.java:97
#5 org.eclipse.jetty.io.ManagedSelector$$Lambda$245.run()V ??
#6 org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(Ljava/lang/Runnable;)V QueuedThreadPool.java:672
#7 org.eclipse.jetty.util.thread.QueuedThreadPool$2.run()V QueuedThreadPool.java:590
#8 java.lang.Thread.run()V Thread.java:835
#9 (Generated Stub) <null>
Previous write of size 4 at 0x00009e77bee0 by thread T1 (mutexes: write M222365234243827592, write M1087337837712384496, write M603482352729136880, write M819373659864033344, write M568860930589083936, write M215891309791941368, write M454582090055185576, write M491455312004312776, write M511070, write M511721, write M146085515571478304):
#0 org.eclipse.jetty.io.ManagedSelector.doStart()V ManagedSelector.java:89
#1 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#2 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#3 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:113
#4 org.eclipse.jetty.io.SelectorManager.doStart()V SelectorManager.java:240
#5 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#6 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#7 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:105
#8 org.eclipse.jetty.server.AbstractConnector.doStart()V AbstractConnector.java:270
#9 org.eclipse.jetty.server.AbstractNetworkConnector.doStart()V AbstractNetworkConnector.java:81
#10 org.eclipse.jetty.server.ServerConnector.doStart()V ServerConnector.java:236
#11 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#12 org.eclipse.jetty.server.Server.doStart()V Server.java:431
#13 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#14 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#15 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#16 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#17 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#18 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#19 (Generated Stub) <null>
#20 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#21 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#22 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#23 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#24 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#25 (Generated Stub) <null>
Mutex M174233013242544120 is already destroyed.
Mutex M222365234243827592 is already destroyed.
Mutex M1087337837712384496 is already destroyed.
Mutex M603482352729136880 is already destroyed.
Mutex M819373659864033344 is already destroyed.
Mutex M568860930589083936 is already destroyed.
Mutex M215891309791941368 is already destroyed.
Mutex M454582090055185576 is already destroyed.
Mutex M491455312004312776 is already destroyed.
Mutex M511070 (0x00008082a730) created at:
#0 __tsan_java_mutex_lock <null> (java+0x487673)
#1 <null> <null> (0x7efd0aa243f5)
#2 org.eclipse.jetty.server.Server.doStart()V Server.java:431
#3 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#4 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#5 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#6 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#7 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#8 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#9 (Generated Stub) <null>
#10 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#11 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#12 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#13 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#14 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#15 (Generated Stub) <null>
Mutex M511721 (0x00008082a840) created at:
#0 __tsan_java_mutex_lock <null> (java+0x487673)
#1 <null> <null> (0x7efd0aa243f5)
#2 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#3 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:105
#4 org.eclipse.jetty.server.AbstractConnector.doStart()V AbstractConnector.java:270
#5 org.eclipse.jetty.server.AbstractNetworkConnector.doStart()V AbstractNetworkConnector.java:81
#6 org.eclipse.jetty.server.ServerConnector.doStart()V ServerConnector.java:236
#7 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#8 org.eclipse.jetty.server.Server.doStart()V Server.java:431
#9 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#10 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#11 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#12 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#13 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#14 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#15 (Generated Stub) <null>
#16 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#17 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#18 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#19 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#20 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#21 (Generated Stub) <null>
Mutex M146085515571478304 is already destroyed.
Thread T48 (tid=30227, running) created by thread T1 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 org.eclipse.jetty.util.thread.QueuedThreadPool.startThreads(I)Z QueuedThreadPool.java:476
#4 org.eclipse.jetty.util.thread.QueuedThreadPool.doStart()V QueuedThreadPool.java:116
#5 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#6 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#7 org.eclipse.jetty.server.Server.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V Server.java:452
#8 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:113
#9 org.eclipse.jetty.server.handler.AbstractHandler.doStart()V AbstractHandler.java:113
#10 org.eclipse.jetty.server.Server.doStart()V Server.java:419
#11 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#12 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#13 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#14 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#15 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#16 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#17 (Generated Stub) <null>
#18 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#19 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#20 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#21 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#22 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#23 (Generated Stub) <null>
Thread T1 (tid=29177, running) created by main thread at:
#0 pthread_create <null> (java+0x464e4d)
#1 CallJavaMainInNewThread /home/jdanek/repos/jdk-tsan/src/java.base/unix/native/libjli/java_md_solinux.c:769:9 (libjli.so+0x9b7a)
SUMMARY: ThreadSanitizer: data race ManagedSelector.java:60 in org.eclipse.jetty.io.ManagedSelector.access$800(Lorg/eclipse/jetty/io/ManagedSelector;)Ljava/nio/channels/Selector;
==================
==================
WARNING: ThreadSanitizer: data race (pid=29163)
Read of size 4 at 0x00009e785184 by thread T48 (mutexes: write M174233013242544120, write M177047763009687504, write M177329237986398496, write M177610712963109216):
#0 java.util.ArrayDeque.pollFirst()Ljava/lang/Object; ArrayDeque.java:379
#1 sun.nio.ch.EPollSelectorImpl.processUpdateQueue()V EPollSelectorImpl.java:148
#2 sun.nio.ch.EPollSelectorImpl.doSelect(Ljava/util/function/Consumer;J)I EPollSelectorImpl.java:113
#3 sun.nio.ch.SelectorImpl.lockAndDoSelect(Ljava/util/function/Consumer;J)I SelectorImpl.java:124
#4 sun.nio.ch.SelectorImpl.select()I SelectorImpl.java:141
#5 org.eclipse.jetty.io.ManagedSelector$SelectorProducer.select()Z ManagedSelector.java:302
#6 org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce()Ljava/lang/Runnable; ManagedSelector.java:254
#7 org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume()V ExecuteProduceConsume.java:147
#8 org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produce()V ExecuteProduceConsume.java:97
#9 org.eclipse.jetty.io.ManagedSelector$$Lambda$245.run()V ??
#10 org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(Ljava/lang/Runnable;)V QueuedThreadPool.java:672
#11 org.eclipse.jetty.util.thread.QueuedThreadPool$2.run()V QueuedThreadPool.java:590
#12 java.lang.Thread.run()V Thread.java:835
#13 (Generated Stub) <null>
Previous write of size 4 at 0x00009e785184 by thread T1 (mutexes: write M222365234243827592, write M1087337837712384496, write M603482352729136880, write M819373659864033344, write M568860930589083936, write M215891309791941368, write M454582090055185576, write M491455312004312776, write M511070, write M511721, write M146085515571478304):
#0 java.util.ArrayDeque.<init>()V ArrayDeque.java:182
#1 sun.nio.ch.EPollSelectorImpl.<init>(Ljava/nio/channels/spi/SelectorProvider;)V EPollSelectorImpl.java:70
#2 sun.nio.ch.EPollSelectorProvider.openSelector()Ljava/nio/channels/spi/AbstractSelector; EPollSelectorProvider.java:36
#3 java.nio.channels.Selector.open()Ljava/nio/channels/Selector; Selector.java:295
#4 org.eclipse.jetty.io.SelectorManager.newSelector()Ljava/nio/channels/Selector; SelectorManager.java:349
#5 org.eclipse.jetty.io.ManagedSelector.doStart()V ManagedSelector.java:89
#6 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#7 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#8 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:113
#9 org.eclipse.jetty.io.SelectorManager.doStart()V SelectorManager.java:240
#10 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#11 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#12 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:105
#13 org.eclipse.jetty.server.AbstractConnector.doStart()V AbstractConnector.java:270
#14 org.eclipse.jetty.server.AbstractNetworkConnector.doStart()V AbstractNetworkConnector.java:81
#15 org.eclipse.jetty.server.ServerConnector.doStart()V ServerConnector.java:236
#16 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#17 org.eclipse.jetty.server.Server.doStart()V Server.java:431
#18 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#19 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#20 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#21 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#22 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#23 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#24 (Generated Stub) <null>
#25 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#26 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#27 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#28 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#29 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#30 (Generated Stub) <null>
Mutex M174233013242544120 is already destroyed.
Mutex M177047763009687504 is already destroyed.
Mutex M177329237986398496 is already destroyed.
Mutex M177610712963109216 is already destroyed.
Mutex M222365234243827592 is already destroyed.
Mutex M1087337837712384496 is already destroyed.
Mutex M603482352729136880 is already destroyed.
Mutex M819373659864033344 is already destroyed.
Mutex M568860930589083936 is already destroyed.
Mutex M215891309791941368 is already destroyed.
Mutex M454582090055185576 is already destroyed.
Mutex M491455312004312776 is already destroyed.
Mutex M511070 (0x00008082a730) created at:
#0 __tsan_java_mutex_lock <null> (java+0x487673)
#1 <null> <null> (0x7efd0aa243f5)
#2 org.eclipse.jetty.server.Server.doStart()V Server.java:431
#3 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#4 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#5 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#6 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#7 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#8 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#9 (Generated Stub) <null>
#10 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#11 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#12 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#13 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#14 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#15 (Generated Stub) <null>
Mutex M511721 (0x00008082a840) created at:
#0 __tsan_java_mutex_lock <null> (java+0x487673)
#1 <null> <null> (0x7efd0aa243f5)
#2 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#3 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:105
#4 org.eclipse.jetty.server.AbstractConnector.doStart()V AbstractConnector.java:270
#5 org.eclipse.jetty.server.AbstractNetworkConnector.doStart()V AbstractNetworkConnector.java:81
#6 org.eclipse.jetty.server.ServerConnector.doStart()V ServerConnector.java:236
#7 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#8 org.eclipse.jetty.server.Server.doStart()V Server.java:431
#9 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#10 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#11 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#12 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#13 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#14 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#15 (Generated Stub) <null>
#16 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#17 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#18 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#19 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#20 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#21 (Generated Stub) <null>
Mutex M146085515571478304 is already destroyed.
Thread T48 (tid=30227, running) created by thread T1 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 org.eclipse.jetty.util.thread.QueuedThreadPool.startThreads(I)Z QueuedThreadPool.java:476
#4 org.eclipse.jetty.util.thread.QueuedThreadPool.doStart()V QueuedThreadPool.java:116
#5 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#6 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#7 org.eclipse.jetty.server.Server.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V Server.java:452
#8 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:113
#9 org.eclipse.jetty.server.handler.AbstractHandler.doStart()V AbstractHandler.java:113
#10 org.eclipse.jetty.server.Server.doStart()V Server.java:419
#11 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#12 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#13 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#14 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#15 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#16 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#17 (Generated Stub) <null>
#18 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#19 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#20 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#21 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#22 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#23 (Generated Stub) <null>
Thread T1 (tid=29177, running) created by main thread at:
#0 pthread_create <null> (java+0x464e4d)
#1 CallJavaMainInNewThread /home/jdanek/repos/jdk-tsan/src/java.base/unix/native/libjli/java_md_solinux.c:769:9 (libjli.so+0x9b7a)
SUMMARY: ThreadSanitizer: data race ArrayDeque.java:379 in java.util.ArrayDeque.pollFirst()Ljava/lang/Object;
==================
==================
WARNING: ThreadSanitizer: data race (pid=29163)
Read of size 4 at 0x00009e785044 by thread T48 (mutexes: write M174233013242544120, write M177047763009687504, write M177329237986398496, write M184647587380875320):
#0 java.util.HashSet.isEmpty()Z HashSet.java:191
#1 sun.nio.ch.SelectorImpl.processDeregisterQueue()V SelectorImpl.java:250
#2 sun.nio.ch.EPollSelectorImpl.doSelect(Ljava/util/function/Consumer;J)I EPollSelectorImpl.java:114
#3 sun.nio.ch.SelectorImpl.lockAndDoSelect(Ljava/util/function/Consumer;J)I SelectorImpl.java:124
#4 sun.nio.ch.SelectorImpl.select()I SelectorImpl.java:141
#5 org.eclipse.jetty.io.ManagedSelector$SelectorProducer.select()Z ManagedSelector.java:302
#6 org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce()Ljava/lang/Runnable; ManagedSelector.java:254
#7 org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume()V ExecuteProduceConsume.java:147
#8 org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produce()V ExecuteProduceConsume.java:97
#9 org.eclipse.jetty.io.ManagedSelector$$Lambda$245.run()V ??
#10 org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(Ljava/lang/Runnable;)V QueuedThreadPool.java:672
#11 org.eclipse.jetty.util.thread.QueuedThreadPool$2.run()V QueuedThreadPool.java:590
#12 java.lang.Thread.run()V Thread.java:835
#13 (Generated Stub) <null>
Previous write of size 4 at 0x00009e785044 by thread T1 (mutexes: write M222365234243827592, write M1087337837712384496, write M603482352729136880, write M819373659864033344, write M568860930589083936, write M215891309791941368, write M454582090055185576, write M491455312004312776, write M511070, write M511721, write M146085515571478304):
#0 java.util.HashSet.<init>()V HashSet.java:106
#1 java.nio.channels.spi.AbstractSelector.<init>(Ljava/nio/channels/spi/SelectorProvider;)V AbstractSelector.java:88
#2 sun.nio.ch.SelectorImpl.<init>(Ljava/nio/channels/spi/SelectorProvider;)V SelectorImpl.java:66
#3 sun.nio.ch.EPollSelectorImpl.<init>(Ljava/nio/channels/spi/SelectorProvider;)V EPollSelectorImpl.java:77
#4 sun.nio.ch.EPollSelectorProvider.openSelector()Ljava/nio/channels/spi/AbstractSelector; EPollSelectorProvider.java:36
#5 java.nio.channels.Selector.open()Ljava/nio/channels/Selector; Selector.java:295
#6 org.eclipse.jetty.io.SelectorManager.newSelector()Ljava/nio/channels/Selector; SelectorManager.java:349
#7 org.eclipse.jetty.io.ManagedSelector.doStart()V ManagedSelector.java:89
#8 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#9 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#10 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:113
#11 org.eclipse.jetty.io.SelectorManager.doStart()V SelectorManager.java:240
#12 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#13 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#14 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:105
#15 org.eclipse.jetty.server.AbstractConnector.doStart()V AbstractConnector.java:270
#16 org.eclipse.jetty.server.AbstractNetworkConnector.doStart()V AbstractNetworkConnector.java:81
#17 org.eclipse.jetty.server.ServerConnector.doStart()V ServerConnector.java:236
#18 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#19 org.eclipse.jetty.server.Server.doStart()V Server.java:431
#20 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#21 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#22 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#23 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#24 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#25 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#26 (Generated Stub) <null>
#27 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#28 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#29 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#30 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#31 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#32 (Generated Stub) <null>
Mutex M174233013242544120 is already destroyed.
Mutex M177047763009687504 is already destroyed.
Mutex M177329237986398496 is already destroyed.
Mutex M184647587380875320 is already destroyed.
Mutex M222365234243827592 is already destroyed.
Mutex M1087337837712384496 is already destroyed.
Mutex M603482352729136880 is already destroyed.
Mutex M819373659864033344 is already destroyed.
Mutex M568860930589083936 is already destroyed.
Mutex M215891309791941368 is already destroyed.
Mutex M454582090055185576 is already destroyed.
Mutex M491455312004312776 is already destroyed.
Mutex M511070 (0x00008082a730) created at:
#0 __tsan_java_mutex_lock <null> (java+0x487673)
#1 <null> <null> (0x7efd0aa243f5)
#2 org.eclipse.jetty.server.Server.doStart()V Server.java:431
#3 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#4 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#5 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#6 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#7 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#8 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#9 (Generated Stub) <null>
#10 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#11 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#12 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#13 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#14 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#15 (Generated Stub) <null>
Mutex M511721 (0x00008082a840) created at:
#0 __tsan_java_mutex_lock <null> (java+0x487673)
#1 <null> <null> (0x7efd0aa243f5)
#2 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#3 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:105
#4 org.eclipse.jetty.server.AbstractConnector.doStart()V AbstractConnector.java:270
#5 org.eclipse.jetty.server.AbstractNetworkConnector.doStart()V AbstractNetworkConnector.java:81
#6 org.eclipse.jetty.server.ServerConnector.doStart()V ServerConnector.java:236
#7 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#8 org.eclipse.jetty.server.Server.doStart()V Server.java:431
#9 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#10 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#11 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#12 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#13 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#14 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#15 (Generated Stub) <null>
#16 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#17 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#18 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#19 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#20 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#21 (Generated Stub) <null>
Mutex M146085515571478304 is already destroyed.
Thread T48 (tid=30227, running) created by thread T1 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 org.eclipse.jetty.util.thread.QueuedThreadPool.startThreads(I)Z QueuedThreadPool.java:476
#4 org.eclipse.jetty.util.thread.QueuedThreadPool.doStart()V QueuedThreadPool.java:116
#5 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#6 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#7 org.eclipse.jetty.server.Server.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V Server.java:452
#8 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:113
#9 org.eclipse.jetty.server.handler.AbstractHandler.doStart()V AbstractHandler.java:113
#10 org.eclipse.jetty.server.Server.doStart()V Server.java:419
#11 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#12 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#13 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#14 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#15 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#16 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#17 (Generated Stub) <null>
#18 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#19 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#20 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#21 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#22 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#23 (Generated Stub) <null>
Thread T1 (tid=29177, running) created by main thread at:
#0 pthread_create <null> (java+0x464e4d)
#1 CallJavaMainInNewThread /home/jdanek/repos/jdk-tsan/src/java.base/unix/native/libjli/java_md_solinux.c:769:9 (libjli.so+0x9b7a)
SUMMARY: ThreadSanitizer: data race HashSet.java:191 in java.util.HashSet.isEmpty()Z
==================
==================
WARNING: ThreadSanitizer: data race (pid=29163)
Read of size 4 at 0x00009e784fe8 by thread T48 (mutexes: write M174233013242544120, write M177047763009687504, write M177329237986398496):
#0 java.nio.channels.spi.AbstractSelector.begin()V AbstractSelector.java:210
#1 sun.nio.ch.SelectorImpl.begin(Z)V SelectorImpl.java:94
#2 sun.nio.ch.EPollSelectorImpl.doSelect(Ljava/util/function/Consumer;J)I EPollSelectorImpl.java:116
#3 sun.nio.ch.SelectorImpl.lockAndDoSelect(Ljava/util/function/Consumer;J)I SelectorImpl.java:124
#4 sun.nio.ch.SelectorImpl.select()I SelectorImpl.java:141
#5 org.eclipse.jetty.io.ManagedSelector$SelectorProducer.select()Z ManagedSelector.java:302
#6 org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce()Ljava/lang/Runnable; ManagedSelector.java:254
#7 org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume()V ExecuteProduceConsume.java:147
#8 org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produce()V ExecuteProduceConsume.java:97
#9 org.eclipse.jetty.io.ManagedSelector$$Lambda$245.run()V ??
#10 org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(Ljava/lang/Runnable;)V QueuedThreadPool.java:672
#11 org.eclipse.jetty.util.thread.QueuedThreadPool$2.run()V QueuedThreadPool.java:590
#12 java.lang.Thread.run()V Thread.java:835
#13 (Generated Stub) <null>
Previous write of size 4 at 0x00009e784fe8 by thread T1 (mutexes: write M222365234243827592, write M1087337837712384496, write M603482352729136880, write M819373659864033344, write M568860930589083936, write M215891309791941368, write M454582090055185576, write M491455312004312776, write M511070, write M511721, write M146085515571478304):
#0 java.nio.channels.spi.AbstractSelector.<init>(Ljava/nio/channels/spi/SelectorProvider;)V AbstractSelector.java:194
#1 sun.nio.ch.SelectorImpl.<init>(Ljava/nio/channels/spi/SelectorProvider;)V SelectorImpl.java:66
#2 sun.nio.ch.EPollSelectorImpl.<init>(Ljava/nio/channels/spi/SelectorProvider;)V EPollSelectorImpl.java:77
#3 sun.nio.ch.EPollSelectorProvider.openSelector()Ljava/nio/channels/spi/AbstractSelector; EPollSelectorProvider.java:36
#4 java.nio.channels.Selector.open()Ljava/nio/channels/Selector; Selector.java:295
#5 org.eclipse.jetty.io.SelectorManager.newSelector()Ljava/nio/channels/Selector; SelectorManager.java:349
#6 org.eclipse.jetty.io.ManagedSelector.doStart()V ManagedSelector.java:89
#7 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#8 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#9 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:113
#10 org.eclipse.jetty.io.SelectorManager.doStart()V SelectorManager.java:240
#11 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#12 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#13 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:105
#14 org.eclipse.jetty.server.AbstractConnector.doStart()V AbstractConnector.java:270
#15 org.eclipse.jetty.server.AbstractNetworkConnector.doStart()V AbstractNetworkConnector.java:81
#16 org.eclipse.jetty.server.ServerConnector.doStart()V ServerConnector.java:236
#17 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#18 org.eclipse.jetty.server.Server.doStart()V Server.java:431
#19 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#20 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#21 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#22 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#23 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#24 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#25 (Generated Stub) <null>
#26 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#27 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#28 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#29 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#30 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#31 (Generated Stub) <null>
Mutex M174233013242544120 is already destroyed.
Mutex M177047763009687504 is already destroyed.
Mutex M177329237986398496 is already destroyed.
Mutex M222365234243827592 is already destroyed.
Mutex M1087337837712384496 is already destroyed.
Mutex M603482352729136880 is already destroyed.
Mutex M819373659864033344 is already destroyed.
Mutex M568860930589083936 is already destroyed.
Mutex M215891309791941368 is already destroyed.
Mutex M454582090055185576 is already destroyed.
Mutex M491455312004312776 is already destroyed.
Mutex M511070 (0x00008082a730) created at:
#0 __tsan_java_mutex_lock <null> (java+0x487673)
#1 <null> <null> (0x7efd0aa243f5)
#2 org.eclipse.jetty.server.Server.doStart()V Server.java:431
#3 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#4 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#5 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#6 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#7 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#8 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#9 (Generated Stub) <null>
#10 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#11 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#12 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#13 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#14 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#15 (Generated Stub) <null>
Mutex M511721 (0x00008082a840) created at:
#0 __tsan_java_mutex_lock <null> (java+0x487673)
#1 <null> <null> (0x7efd0aa243f5)
#2 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#3 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:105
#4 org.eclipse.jetty.server.AbstractConnector.doStart()V AbstractConnector.java:270
#5 org.eclipse.jetty.server.AbstractNetworkConnector.doStart()V AbstractNetworkConnector.java:81
#6 org.eclipse.jetty.server.ServerConnector.doStart()V ServerConnector.java:236
#7 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#8 org.eclipse.jetty.server.Server.doStart()V Server.java:431
#9 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#10 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#11 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#12 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#13 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#14 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#15 (Generated Stub) <null>
#16 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#17 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#18 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#19 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#20 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#21 (Generated Stub) <null>
Mutex M146085515571478304 is already destroyed.
Thread T48 (tid=30227, running) created by thread T1 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 org.eclipse.jetty.util.thread.QueuedThreadPool.startThreads(I)Z QueuedThreadPool.java:476
#4 org.eclipse.jetty.util.thread.QueuedThreadPool.doStart()V QueuedThreadPool.java:116
#5 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#6 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#7 org.eclipse.jetty.server.Server.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V Server.java:452
#8 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:113
#9 org.eclipse.jetty.server.handler.AbstractHandler.doStart()V AbstractHandler.java:113
#10 org.eclipse.jetty.server.Server.doStart()V Server.java:419
#11 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#12 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#13 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#14 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#15 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#16 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#17 (Generated Stub) <null>
#18 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#19 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#20 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#21 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#22 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#23 (Generated Stub) <null>
Thread T1 (tid=29177, running) created by main thread at:
#0 pthread_create <null> (java+0x464e4d)
#1 CallJavaMainInNewThread /home/jdanek/repos/jdk-tsan/src/java.base/unix/native/libjli/java_md_solinux.c:769:9 (libjli.so+0x9b7a)
SUMMARY: ThreadSanitizer: data race AbstractSelector.java:210 in java.nio.channels.spi.AbstractSelector.begin()V
==================
==================
WARNING: ThreadSanitizer: data race (pid=29163)
Read of size 4 at 0x00009e785258 by thread T50 (mutexes: write M185773487287681768, write M187743812124693056, write M188025287101404048):
#0 java.nio.channels.spi.AbstractSelector.begin()V AbstractSelector.java:210
#1 sun.nio.ch.SelectorImpl.begin(Z)V SelectorImpl.java:94
#2 sun.nio.ch.EPollSelectorImpl.doSelect(Ljava/util/function/Consumer;J)I EPollSelectorImpl.java:116
#3 sun.nio.ch.SelectorImpl.lockAndDoSelect(Ljava/util/function/Consumer;J)I SelectorImpl.java:124
#4 sun.nio.ch.SelectorImpl.select()I SelectorImpl.java:141
#5 org.eclipse.jetty.io.ManagedSelector$SelectorProducer.select()Z ManagedSelector.java:302
#6 org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce()Ljava/lang/Runnable; ManagedSelector.java:254
#7 org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume()V ExecuteProduceConsume.java:147
#8 org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produce()V ExecuteProduceConsume.java:97
#9 org.eclipse.jetty.io.ManagedSelector$$Lambda$245.run()V ??
#10 org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(Ljava/lang/Runnable;)V QueuedThreadPool.java:672
#11 org.eclipse.jetty.util.thread.QueuedThreadPool$2.run()V QueuedThreadPool.java:590
#12 java.lang.Thread.run()V Thread.java:835
#13 (Generated Stub) <null>
Previous write of size 4 at 0x00009e785258 by thread T1 (mutexes: write M222365234243827592, write M1087337837712384496, write M603482352729136880, write M819373659864033344, write M568860930589083936, write M215891309791941368, write M454582090055185576, write M491455312004312776, write M511070, write M511721, write M152277965059113488):
#0 java.nio.channels.spi.AbstractSelector.<init>(Ljava/nio/channels/spi/SelectorProvider;)V AbstractSelector.java:194
#1 sun.nio.ch.SelectorImpl.<init>(Ljava/nio/channels/spi/SelectorProvider;)V SelectorImpl.java:66
#2 sun.nio.ch.EPollSelectorImpl.<init>(Ljava/nio/channels/spi/SelectorProvider;)V EPollSelectorImpl.java:77
#3 sun.nio.ch.EPollSelectorProvider.openSelector()Ljava/nio/channels/spi/AbstractSelector; EPollSelectorProvider.java:36
#4 java.nio.channels.Selector.open()Ljava/nio/channels/Selector; Selector.java:295
#5 org.eclipse.jetty.io.SelectorManager.newSelector()Ljava/nio/channels/Selector; SelectorManager.java:349
#6 org.eclipse.jetty.io.ManagedSelector.doStart()V ManagedSelector.java:89
#7 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#8 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#9 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:113
#10 org.eclipse.jetty.io.SelectorManager.doStart()V SelectorManager.java:240
#11 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#12 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#13 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:105
#14 org.eclipse.jetty.server.AbstractConnector.doStart()V AbstractConnector.java:270
#15 org.eclipse.jetty.server.AbstractNetworkConnector.doStart()V AbstractNetworkConnector.java:81
#16 org.eclipse.jetty.server.ServerConnector.doStart()V ServerConnector.java:236
#17 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#18 org.eclipse.jetty.server.Server.doStart()V Server.java:431
#19 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#20 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#21 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#22 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#23 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#24 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#25 (Generated Stub) <null>
#26 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#27 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#28 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#29 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#30 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#31 (Generated Stub) <null>
Mutex M185773487287681768 is already destroyed.
Mutex M187743812124693056 is already destroyed.
Mutex M188025287101404048 is already destroyed.
Mutex M222365234243827592 is already destroyed.
Mutex M1087337837712384496 is already destroyed.
Mutex M603482352729136880 is already destroyed.
Mutex M819373659864033344 is already destroyed.
Mutex M568860930589083936 is already destroyed.
Mutex M215891309791941368 is already destroyed.
Mutex M454582090055185576 is already destroyed.
Mutex M491455312004312776 is already destroyed.
Mutex M511070 (0x00008082a730) created at:
#0 __tsan_java_mutex_lock <null> (java+0x487673)
#1 <null> <null> (0x7efd0aa243f5)
#2 org.eclipse.jetty.server.Server.doStart()V Server.java:431
#3 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#4 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#5 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#6 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#7 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#8 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#9 (Generated Stub) <null>
#10 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#11 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#12 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#13 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#14 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#15 (Generated Stub) <null>
Mutex M511721 (0x00008082a840) created at:
#0 __tsan_java_mutex_lock <null> (java+0x487673)
#1 <null> <null> (0x7efd0aa243f5)
#2 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#3 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:105
#4 org.eclipse.jetty.server.AbstractConnector.doStart()V AbstractConnector.java:270
#5 org.eclipse.jetty.server.AbstractNetworkConnector.doStart()V AbstractNetworkConnector.java:81
#6 org.eclipse.jetty.server.ServerConnector.doStart()V ServerConnector.java:236
#7 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#8 org.eclipse.jetty.server.Server.doStart()V Server.java:431
#9 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#10 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#11 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#12 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#13 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#14 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#15 (Generated Stub) <null>
#16 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#17 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#18 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#19 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#20 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#21 (Generated Stub) <null>
Mutex M152277965059113488 is already destroyed.
Thread T50 (tid=30229, running) created by thread T1 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 org.eclipse.jetty.util.thread.QueuedThreadPool.startThreads(I)Z QueuedThreadPool.java:476
#4 org.eclipse.jetty.util.thread.QueuedThreadPool.doStart()V QueuedThreadPool.java:116
#5 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#6 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#7 org.eclipse.jetty.server.Server.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V Server.java:452
#8 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:113
#9 org.eclipse.jetty.server.handler.AbstractHandler.doStart()V AbstractHandler.java:113
#10 org.eclipse.jetty.server.Server.doStart()V Server.java:419
#11 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#12 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#13 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#14 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#15 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#16 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#17 (Generated Stub) <null>
#18 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#19 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#20 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#21 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#22 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#23 (Generated Stub) <null>
Thread T1 (tid=29177, running) created by main thread at:
#0 pthread_create <null> (java+0x464e4d)
#1 CallJavaMainInNewThread /home/jdanek/repos/jdk-tsan/src/java.base/unix/native/libjli/java_md_solinux.c:769:9 (libjli.so+0x9b7a)
SUMMARY: ThreadSanitizer: data race AbstractSelector.java:210 in java.nio.channels.spi.AbstractSelector.begin()V
==================
2020-04-21 22:57:04,562 INFO [org.apache.activemq.artemis] AMQ241001: HTTP Server started at http://localhost:8161
2020-04-21 22:57:04,564 INFO [org.apache.activemq.artemis] AMQ241002: Artemis Jolokia REST API available at http://localhost:8161/console/jolokia
==================
WARNING: ThreadSanitizer: data race (pid=29163)
Read of size 8 at 0x7ba000001d90 by thread T48 (mutexes: write M174233013242544120, write M177047763009687504, write M177329237986398496):
#0 epoll_wait <null> (java+0x4584b4)
#1 Java_sun_nio_ch_EPoll_wait /home/jdanek/repos/jdk-tsan/src/java.base/linux/native/libnio/ch/EPoll.c:87:15 (libnio.so+0x7188)
#2 sun.nio.ch.EPollSelectorImpl.doSelect(Ljava/util/function/Consumer;J)I EPollSelectorImpl.java:120
#3 sun.nio.ch.SelectorImpl.lockAndDoSelect(Ljava/util/function/Consumer;J)I SelectorImpl.java:124
#4 sun.nio.ch.SelectorImpl.select()I SelectorImpl.java:141
#5 org.eclipse.jetty.io.ManagedSelector$SelectorProducer.select()Z ManagedSelector.java:302
#6 org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce()Ljava/lang/Runnable; ManagedSelector.java:254
#7 org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume()V ExecuteProduceConsume.java:147
#8 org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produce()V ExecuteProduceConsume.java:97
#9 org.eclipse.jetty.io.ManagedSelector$$Lambda$245.run()V ??
#10 org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(Ljava/lang/Runnable;)V QueuedThreadPool.java:672
#11 org.eclipse.jetty.util.thread.QueuedThreadPool$2.run()V QueuedThreadPool.java:590
#12 java.lang.Thread.run()V Thread.java:835
#13 (Generated Stub) <null>
Previous write of size 8 at 0x7ba000001d90 by thread T1 (mutexes: write M222365234243827592, write M1087337837712384496, write M603482352729136880, write M819373659864033344, write M568860930589083936, write M215891309791941368, write M454582090055185576, write M491455312004312776, write M511070, write M511721, write M146085515571478304):
#0 epoll_create <null> (java+0x432af2)
#1 Java_sun_nio_ch_EPoll_create /home/jdanek/repos/jdk-tsan/src/java.base/linux/native/libnio/ch/EPoll.c:61:16 (libnio.so+0x70e3)
#2 sun.nio.ch.EPollSelectorImpl.<init>(Ljava/nio/channels/spi/SelectorProvider;)V EPollSelectorImpl.java:79
#3 sun.nio.ch.EPollSelectorProvider.openSelector()Ljava/nio/channels/spi/AbstractSelector; EPollSelectorProvider.java:36
#4 java.nio.channels.Selector.open()Ljava/nio/channels/Selector; Selector.java:295
#5 org.eclipse.jetty.io.SelectorManager.newSelector()Ljava/nio/channels/Selector; SelectorManager.java:349
#6 org.eclipse.jetty.io.ManagedSelector.doStart()V ManagedSelector.java:89
#7 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#8 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#9 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:113
#10 org.eclipse.jetty.io.SelectorManager.doStart()V SelectorManager.java:240
#11 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#12 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#13 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:105
#14 org.eclipse.jetty.server.AbstractConnector.doStart()V AbstractConnector.java:270
#15 org.eclipse.jetty.server.AbstractNetworkConnector.doStart()V AbstractNetworkConnector.java:81
#16 org.eclipse.jetty.server.ServerConnector.doStart()V ServerConnector.java:236
#17 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#18 org.eclipse.jetty.server.Server.doStart()V Server.java:431
#19 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#20 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#21 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#22 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#23 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#24 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#25 (Generated Stub) <null>
#26 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#27 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#28 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#29 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#30 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#31 (Generated Stub) <null>
Location is file descriptor 473 created by thread T1 at:
#0 epoll_create <null> (java+0x432af2)
#1 Java_sun_nio_ch_EPoll_create /home/jdanek/repos/jdk-tsan/src/java.base/linux/native/libnio/ch/EPoll.c:61:16 (libnio.so+0x70e3)
#2 sun.nio.ch.EPollSelectorImpl.<init>(Ljava/nio/channels/spi/SelectorProvider;)V EPollSelectorImpl.java:79
#3 sun.nio.ch.EPollSelectorProvider.openSelector()Ljava/nio/channels/spi/AbstractSelector; EPollSelectorProvider.java:36
#4 java.nio.channels.Selector.open()Ljava/nio/channels/Selector; Selector.java:295
#5 org.eclipse.jetty.io.SelectorManager.newSelector()Ljava/nio/channels/Selector; SelectorManager.java:349
#6 org.eclipse.jetty.io.ManagedSelector.doStart()V ManagedSelector.java:89
#7 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#8 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#9 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:113
#10 org.eclipse.jetty.io.SelectorManager.doStart()V SelectorManager.java:240
#11 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#12 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#13 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:105
#14 org.eclipse.jetty.server.AbstractConnector.doStart()V AbstractConnector.java:270
#15 org.eclipse.jetty.server.AbstractNetworkConnector.doStart()V AbstractNetworkConnector.java:81
#16 org.eclipse.jetty.server.ServerConnector.doStart()V ServerConnector.java:236
#17 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#18 org.eclipse.jetty.server.Server.doStart()V Server.java:431
#19 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#20 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#21 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#22 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#23 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#24 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#25 (Generated Stub) <null>
#26 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#27 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#28 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#29 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#30 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#31 (Generated Stub) <null>
Mutex M174233013242544120 is already destroyed.
Mutex M177047763009687504 is already destroyed.
Mutex M177329237986398496 is already destroyed.
Mutex M222365234243827592 is already destroyed.
Mutex M1087337837712384496 is already destroyed.
Mutex M603482352729136880 is already destroyed.
Mutex M819373659864033344 is already destroyed.
Mutex M568860930589083936 is already destroyed.
Mutex M215891309791941368 is already destroyed.
Mutex M454582090055185576 is already destroyed.
Mutex M491455312004312776 is already destroyed.
Mutex M511070 (0x00008082a730) created at:
#0 __tsan_java_mutex_lock <null> (java+0x487673)
#1 <null> <null> (0x7efd0aa243f5)
#2 org.eclipse.jetty.server.Server.doStart()V Server.java:431
#3 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#4 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#5 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#6 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#7 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#8 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#9 (Generated Stub) <null>
#10 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#11 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#12 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#13 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#14 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#15 (Generated Stub) <null>
Mutex M511721 (0x00008082a840) created at:
#0 __tsan_java_mutex_lock <null> (java+0x487673)
#1 <null> <null> (0x7efd0aa243f5)
#2 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#3 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:105
#4 org.eclipse.jetty.server.AbstractConnector.doStart()V AbstractConnector.java:270
#5 org.eclipse.jetty.server.AbstractNetworkConnector.doStart()V AbstractNetworkConnector.java:81
#6 org.eclipse.jetty.server.ServerConnector.doStart()V ServerConnector.java:236
#7 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#8 org.eclipse.jetty.server.Server.doStart()V Server.java:431
#9 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#10 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#11 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#12 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#13 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#14 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#15 (Generated Stub) <null>
#16 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#17 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#18 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#19 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#20 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#21 (Generated Stub) <null>
Mutex M146085515571478304 is already destroyed.
Thread T48 (tid=30227, running) created by thread T1 at:
2020-04-21 22:57:04,566 INFO [org.apache.activemq.artemis] AMQ241004: Artemis Console available at http://localhost:8161/console
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 org.eclipse.jetty.util.thread.QueuedThreadPool.startThreads(I)Z QueuedThreadPool.java:476
#4 org.eclipse.jetty.util.thread.QueuedThreadPool.doStart()V QueuedThreadPool.java:116
#5 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#6 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#7 org.eclipse.jetty.server.Server.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V Server.java:452
#8 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:113
#9 org.eclipse.jetty.server.handler.AbstractHandler.doStart()V AbstractHandler.java:113
#10 org.eclipse.jetty.server.Server.doStart()V Server.java:419
#11 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#12 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#13 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#14 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#15 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#16 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#17 (Generated Stub) <null>
#18 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#19 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#20 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#21 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#22 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#23 (Generated Stub) <null>
Thread T1 (tid=29177, running) created by main thread at:
#0 pthread_create <null> (java+0x464e4d)
#1 CallJavaMainInNewThread /home/jdanek/repos/jdk-tsan/src/java.base/unix/native/libjli/java_md_solinux.c:769:9 (libjli.so+0x9b7a)
SUMMARY: ThreadSanitizer: data race (/home/jdanek/repos/jdk-tsan/build/linux-x86_64-server-release/jdk/bin/java+0x4584b4) in epoll_wait
==================
==================
WARNING: ThreadSanitizer: data race (pid=29163)
Read of size 8 at 0x7ba000001dc0 by thread T50 (mutexes: write M185773487287681768, write M187743812124693056, write M188025287101404048):
#0 epoll_wait <null> (java+0x4584b4)
#1 Java_sun_nio_ch_EPoll_wait /home/jdanek/repos/jdk-tsan/src/java.base/linux/native/libnio/ch/EPoll.c:87:15 (libnio.so+0x7188)
#2 sun.nio.ch.EPollSelectorImpl.doSelect(Ljava/util/function/Consumer;J)I EPollSelectorImpl.java:120
#3 sun.nio.ch.SelectorImpl.lockAndDoSelect(Ljava/util/function/Consumer;J)I SelectorImpl.java:124
#4 sun.nio.ch.SelectorImpl.select()I SelectorImpl.java:141
#5 org.eclipse.jetty.io.ManagedSelector$SelectorProducer.select()Z ManagedSelector.java:302
#6 org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce()Ljava/lang/Runnable; ManagedSelector.java:254
#7 org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume()V ExecuteProduceConsume.java:147
#8 org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produce()V ExecuteProduceConsume.java:97
#9 org.eclipse.jetty.io.ManagedSelector$$Lambda$245.run()V ??
#10 org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(Ljava/lang/Runnable;)V QueuedThreadPool.java:672
#11 org.eclipse.jetty.util.thread.QueuedThreadPool$2.run()V QueuedThreadPool.java:590
#12 java.lang.Thread.run()V Thread.java:835
#13 (Generated Stub) <null>
Previous write of size 8 at 0x7ba000001dc0 by thread T1 (mutexes: write M222365234243827592, write M1087337837712384496, write M603482352729136880, write M819373659864033344, write M568860930589083936, write M215891309791941368, write M454582090055185576, write M491455312004312776, write M511070, write M511721, write M152277965059113488):
#0 epoll_create <null> (java+0x432af2)
#1 Java_sun_nio_ch_EPoll_create /home/jdanek/repos/jdk-tsan/src/java.base/linux/native/libnio/ch/EPoll.c:61:16 (libnio.so+0x70e3)
#2 sun.nio.ch.EPollSelectorImpl.<init>(Ljava/nio/channels/spi/SelectorProvider;)V EPollSelectorImpl.java:79
#3 sun.nio.ch.EPollSelectorProvider.openSelector()Ljava/nio/channels/spi/AbstractSelector; EPollSelectorProvider.java:36
#4 java.nio.channels.Selector.open()Ljava/nio/channels/Selector; Selector.java:295
#5 org.eclipse.jetty.io.SelectorManager.newSelector()Ljava/nio/channels/Selector; SelectorManager.java:349
#6 org.eclipse.jetty.io.ManagedSelector.doStart()V ManagedSelector.java:89
#7 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#8 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#9 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:113
#10 org.eclipse.jetty.io.SelectorManager.doStart()V SelectorManager.java:240
#11 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#12 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#13 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:105
#14 org.eclipse.jetty.server.AbstractConnector.doStart()V AbstractConnector.java:270
#15 org.eclipse.jetty.server.AbstractNetworkConnector.doStart()V AbstractNetworkConnector.java:81
#16 org.eclipse.jetty.server.ServerConnector.doStart()V ServerConnector.java:236
#17 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#18 org.eclipse.jetty.server.Server.doStart()V Server.java:431
#19 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#20 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#21 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#22 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#23 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#24 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#25 (Generated Stub) <null>
#26 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#27 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#28 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#29 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#30 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#31 (Generated Stub) <null>
Location is file descriptor 476 created by thread T1 at:
#0 epoll_create <null> (java+0x432af2)
#1 Java_sun_nio_ch_EPoll_create /home/jdanek/repos/jdk-tsan/src/java.base/linux/native/libnio/ch/EPoll.c:61:16 (libnio.so+0x70e3)
#2 sun.nio.ch.EPollSelectorImpl.<init>(Ljava/nio/channels/spi/SelectorProvider;)V EPollSelectorImpl.java:79
#3 sun.nio.ch.EPollSelectorProvider.openSelector()Ljava/nio/channels/spi/AbstractSelector; EPollSelectorProvider.java:36
#4 java.nio.channels.Selector.open()Ljava/nio/channels/Selector; Selector.java:295
#5 org.eclipse.jetty.io.SelectorManager.newSelector()Ljava/nio/channels/Selector; SelectorManager.java:349
#6 org.eclipse.jetty.io.ManagedSelector.doStart()V ManagedSelector.java:89
#7 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#8 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#9 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:113
#10 org.eclipse.jetty.io.SelectorManager.doStart()V SelectorManager.java:240
#11 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#12 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#13 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:105
#14 org.eclipse.jetty.server.AbstractConnector.doStart()V AbstractConnector.java:270
#15 org.eclipse.jetty.server.AbstractNetworkConnector.doStart()V AbstractNetworkConnector.java:81
#16 org.eclipse.jetty.server.ServerConnector.doStart()V ServerConnector.java:236
#17 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#18 org.eclipse.jetty.server.Server.doStart()V Server.java:431
#19 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#20 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#21 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#22 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#23 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#24 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#25 (Generated Stub) <null>
#26 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#27 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#28 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#29 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#30 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#31 (Generated Stub) <null>
Mutex M185773487287681768 is already destroyed.
Mutex M187743812124693056 is already destroyed.
Mutex M188025287101404048 is already destroyed.
Mutex M222365234243827592 is already destroyed.
Mutex M1087337837712384496 is already destroyed.
Mutex M603482352729136880 is already destroyed.
Mutex M819373659864033344 is already destroyed.
Mutex M568860930589083936 is already destroyed.
Mutex M215891309791941368 is already destroyed.
Mutex M454582090055185576 is already destroyed.
Mutex M491455312004312776 is already destroyed.
Mutex M511070 (0x00008082a730) created at:
#0 __tsan_java_mutex_lock <null> (java+0x487673)
#1 <null> <null> (0x7efd0aa243f5)
#2 org.eclipse.jetty.server.Server.doStart()V Server.java:431
#3 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#4 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#5 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#6 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#7 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#8 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#9 (Generated Stub) <null>
#10 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#11 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#12 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#13 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#14 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#15 (Generated Stub) <null>
Mutex M511721 (0x00008082a840) created at:
#0 __tsan_java_mutex_lock <null> (java+0x487673)
#1 <null> <null> (0x7efd0aa243f5)
#2 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#3 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:105
#4 org.eclipse.jetty.server.AbstractConnector.doStart()V AbstractConnector.java:270
#5 org.eclipse.jetty.server.AbstractNetworkConnector.doStart()V AbstractNetworkConnector.java:81
#6 org.eclipse.jetty.server.ServerConnector.doStart()V ServerConnector.java:236
#7 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#8 org.eclipse.jetty.server.Server.doStart()V Server.java:431
#9 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#10 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#11 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#12 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#13 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#14 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#15 (Generated Stub) <null>
#16 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#17 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#18 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#19 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#20 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#21 (Generated Stub) <null>
Mutex M152277965059113488 is already destroyed.
Thread T50 (tid=30229, running) created by thread T1 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 org.eclipse.jetty.util.thread.QueuedThreadPool.startThreads(I)Z QueuedThreadPool.java:476
#4 org.eclipse.jetty.util.thread.QueuedThreadPool.doStart()V QueuedThreadPool.java:116
#5 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#6 org.eclipse.jetty.util.component.ContainerLifeCycle.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V ContainerLifeCycle.java:131
#7 org.eclipse.jetty.server.Server.start(Lorg/eclipse/jetty/util/component/LifeCycle;)V Server.java:452
#8 org.eclipse.jetty.util.component.ContainerLifeCycle.doStart()V ContainerLifeCycle.java:113
#9 org.eclipse.jetty.server.handler.AbstractHandler.doStart()V AbstractHandler.java:113
#10 org.eclipse.jetty.server.Server.doStart()V Server.java:419
#11 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#12 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#13 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#14 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#15 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#16 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#17 (Generated Stub) <null>
#18 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#19 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#20 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#21 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#22 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#23 (Generated Stub) <null>
Thread T1 (tid=29177, running) created by main thread at:
#0 pthread_create <null> (java+0x464e4d)
#1 CallJavaMainInNewThread /home/jdanek/repos/jdk-tsan/src/java.base/unix/native/libjli/java_md_solinux.c:769:9 (libjli.so+0x9b7a)
SUMMARY: ThreadSanitizer: data race (/home/jdanek/repos/jdk-tsan/build/linux-x86_64-server-release/jdk/bin/java+0x4584b4) in epoll_wait
==================
==================
WARNING: ThreadSanitizer: data race (pid=29163)
Read of size 4 at 0x000080e5bf88 by thread T53:
#0 org.eclipse.jetty.util.BlockingArrayQueue.poll()Ljava/lang/Object; BlockingArrayQueue.java:203
#1 org.eclipse.jetty.util.thread.QueuedThreadPool$2.run()V QueuedThreadPool.java:576
#2 java.lang.Thread.run()V Thread.java:835
#3 (Generated Stub) <null>
Previous write of size 4 at 0x000080e5bf88 by thread T1 (mutexes: write M222365234243827592, write M1087337837712384496, write M603482352729136880, write M819373659864033344, write M568860930589083936, write M215891309791941368, write M454582090055185576, write M491455312004312776, write M511070):
#0 org.eclipse.jetty.util.BlockingArrayQueue.offer(Ljava/lang/Object;)Z BlockingArrayQueue.java:291
#1 org.eclipse.jetty.util.thread.QueuedThreadPool.execute(Ljava/lang/Runnable;)V QueuedThreadPool.java:381
#2 org.eclipse.jetty.server.AbstractConnector.doStart()V AbstractConnector.java:277
#3 org.eclipse.jetty.server.AbstractNetworkConnector.doStart()V AbstractNetworkConnector.java:81
#4 org.eclipse.jetty.server.ServerConnector.doStart()V ServerConnector.java:236
#5 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#6 org.eclipse.jetty.server.Server.doStart()V Server.java:431
#7 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#8 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#9 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#10 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#11 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#12 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#13 (Generated Stub) <null>
#14 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#15 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#16 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#17 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#18 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#19 (Generated Stub) <null>
Mutex M222365234243827592 is already destroyed.
Mutex M1087337837712384496 is already destroyed.
Mutex M603482352729136880 is already destroyed.
Mutex M819373659864033344 is already destroyed.
Mutex M568860930589083936 is already destroyed.
Mutex M215891309791941368 is already destroyed.
Mutex M454582090055185576 is already destroyed.
Mutex M491455312004312776 is already destroyed.
Mutex M511070 (0x00008082a730) created at:
#0 __tsan_java_mutex_lock <null> (java+0x487673)
#1 <null> <null> (0x7efd0aa243f5)
#2 org.eclipse.jetty.server.Server.doStart()V Server.java:431
#3 org.eclipse.jetty.util.component.AbstractLifeCycle.start()V AbstractLifeCycle.java:68
#4 org.apache.activemq.artemis.component.WebServerComponent.start()V WebServerComponent.java:229
#5 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:95
#6 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#7 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#8 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#9 (Generated Stub) <null>
#10 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#11 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#12 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#13 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#14 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#15 (Generated Stub) <null>
Thread T53 (tid=30892, running) created by thread T51 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 org.eclipse.jetty.util.thread.QueuedThreadPool.startThreads(I)Z QueuedThreadPool.java:476
#4 org.eclipse.jetty.util.thread.QueuedThreadPool.access$200(Lorg/eclipse/jetty/util/thread/QueuedThreadPool;I)Z QueuedThreadPool.java:49
#5 org.eclipse.jetty.util.thread.QueuedThreadPool$2.run()V QueuedThreadPool.java:635
#6 java.lang.Thread.run()V Thread.java:835
#7 (Generated Stub) <null>
Thread T1 (tid=29177, running) created by main thread at:
#0 pthread_create <null> (java+0x464e4d)
#1 CallJavaMainInNewThread /home/jdanek/repos/jdk-tsan/src/java.base/unix/native/libjli/java_md_solinux.c:769:9 (libjli.so+0x9b7a)
SUMMARY: ThreadSanitizer: data race BlockingArrayQueue.java:203 in org.eclipse.jetty.util.BlockingArrayQueue.poll()Ljava/lang/Object;
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 8 at 0x0000af0d7e08 by thread T94:
#0 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.commit(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;)V JournalTransaction.java:273
#1 org.apache.activemq.artemis.core.journal.impl.JournalImpl$9.run()V JournalImpl.java:1326
#2 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#3 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#4 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#6 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#7 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#8 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#9 (Generated Stub) <null>
Previous write of size 8 at 0x0000af0d7e08 by thread T115:
#0 org.apache.activemq.artemis.core.journal.impl.JournalTransaction$JournalUpdate.<init>(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;JI)V JournalTransaction.java:408
#1 org.apache.activemq.artemis.core.journal.impl.JournalTransaction$JournalUpdate.<init>(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;JILorg/apache/activemq/artemis/core/journal/impl/JournalTransaction$1;)V JournalTransaction.java:392
#2 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.addNegative(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;J)V JournalTransaction.java:226
#3 org.apache.activemq.artemis.core.journal.impl.JournalImpl$7.run()V JournalImpl.java:1185
#4 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#5 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#7 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#8 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#9 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#10 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#11 (Generated Stub) <null>
Thread T94 (tid=19827, running) created by thread T128 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.removeAddressInfo(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/core/security/SecurityAuth;Z)V ActiveMQServerImpl.java:3313
#13 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;Z)V ActiveMQServerControlImpl.java:868
#14 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;)V ActiveMQServerControlImpl.java:856
#15 jdk.internal.reflect.GeneratedMethodAccessor30.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#16 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#17 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#18 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#19 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#20 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#21 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#22 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#23 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#24 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#25 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#26 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#27 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#28 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#29 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#30 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#31 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#32 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#33 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#34 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#35 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#36 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#37 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#38 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#39 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#40 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#41 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#42 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#43 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#44 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#45 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#46 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#48 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#49 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#50 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#51 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#52 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#53 java.lang.Thread.run()V Thread.java:835
#54 (Generated Stub) <null>
Thread T115 (tid=703, running) created by thread T114 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z SimpleAddressManager.java:276
#13 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.internalAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Z)Z PostOfficeImpl.java:455
#14 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z PostOfficeImpl.java:442
#15 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z ActiveMQServerImpl.java:3274
#16 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createAddress(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ActiveMQServerControlImpl.java:815
#17 jdk.internal.reflect.GeneratedMethodAccessor24.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#18 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#19 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#20 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#21 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#22 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#23 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#24 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#25 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#26 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#27 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#28 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#29 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#30 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#31 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#32 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#33 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#34 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#35 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#36 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#37 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#38 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#39 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#40 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#41 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#42 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#43 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#44 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#45 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#46 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#48 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#49 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#50 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#51 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#52 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#53 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#54 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#55 java.lang.Thread.run()V Thread.java:835
#56 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race JournalTransaction.java:273 in org.apache.activemq.artemis.core.journal.impl.JournalTransaction.commit(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;)V
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 4 at 0x0000af0d7bdc by thread T94:
#0 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.commit(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;)V JournalTransaction.java:285
#1 org.apache.activemq.artemis.core.journal.impl.JournalImpl$9.run()V JournalImpl.java:1326
#2 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#3 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#4 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#6 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#7 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#8 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#9 (Generated Stub) <null>
Previous write of size 4 at 0x0000af0d7bdc by thread T115:
#0 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.addFile(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;)V JournalTransaction.java:379
#1 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.addNegative(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;J)V JournalTransaction.java:220
#2 org.apache.activemq.artemis.core.journal.impl.JournalImpl$7.run()V JournalImpl.java:1185
#3 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#4 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#7 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#8 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#9 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#10 (Generated Stub) <null>
Thread T94 (tid=19827, running) created by thread T128 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.removeAddressInfo(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/core/security/SecurityAuth;Z)V ActiveMQServerImpl.java:3313
#13 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;Z)V ActiveMQServerControlImpl.java:868
#14 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;)V ActiveMQServerControlImpl.java:856
#15 jdk.internal.reflect.GeneratedMethodAccessor30.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#16 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#17 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#18 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#19 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#20 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#21 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#22 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#23 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#24 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#25 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#26 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#27 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#28 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#29 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#30 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#31 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#32 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#33 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#34 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#35 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#36 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#37 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#38 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#39 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#40 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#41 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#42 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#43 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#44 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#45 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#46 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#48 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#49 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#50 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#51 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#52 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#53 java.lang.Thread.run()V Thread.java:835
#54 (Generated Stub) <null>
Thread T115 (tid=703, running) created by thread T114 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z SimpleAddressManager.java:276
#13 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.internalAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Z)Z PostOfficeImpl.java:455
#14 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z PostOfficeImpl.java:442
#15 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z ActiveMQServerImpl.java:3274
#16 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createAddress(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ActiveMQServerControlImpl.java:815
#17 jdk.internal.reflect.GeneratedMethodAccessor24.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#18 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#19 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#20 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#21 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#22 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#23 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#24 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#25 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#26 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#27 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#28 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#29 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#30 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#31 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#32 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#33 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#34 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#35 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#36 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#37 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#38 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#39 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#40 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#41 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#42 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#43 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#44 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#45 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#46 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#48 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#49 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#50 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#51 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#52 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#53 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#54 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#55 java.lang.Thread.run()V Thread.java:835
#56 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race JournalTransaction.java:285 in org.apache.activemq.artemis.core.journal.impl.JournalTransaction.commit(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;)V
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 4 at 0x0000af0d7d3c by thread T94:
#0 java.util.HashSet.iterator()Ljava/util/Iterator; HashSet.java:173
#1 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.commit(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;)V JournalTransaction.java:285
#2 org.apache.activemq.artemis.core.journal.impl.JournalImpl$9.run()V JournalImpl.java:1326
#3 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#4 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#7 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#8 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#9 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#10 (Generated Stub) <null>
Previous write of size 4 at 0x0000af0d7d3c by thread T115:
#0 java.util.HashSet.<init>()V HashSet.java:106
#1 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.addFile(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;)V JournalTransaction.java:379
#2 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.addNegative(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;J)V JournalTransaction.java:220
#3 org.apache.activemq.artemis.core.journal.impl.JournalImpl$7.run()V JournalImpl.java:1185
#4 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#5 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#7 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#8 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#9 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#10 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#11 (Generated Stub) <null>
Thread T94 (tid=19827, running) created by thread T128 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.removeAddressInfo(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/core/security/SecurityAuth;Z)V ActiveMQServerImpl.java:3313
#13 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;Z)V ActiveMQServerControlImpl.java:868
#14 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;)V ActiveMQServerControlImpl.java:856
#15 jdk.internal.reflect.GeneratedMethodAccessor30.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#16 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#17 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#18 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#19 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#20 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#21 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#22 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#23 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#24 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#25 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#26 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#27 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#28 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#29 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#30 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#31 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#32 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#33 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#34 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#35 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#36 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#37 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#38 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#39 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#40 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#41 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#42 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#43 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#44 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#45 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#46 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#48 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#49 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#50 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#51 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#52 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#53 java.lang.Thread.run()V Thread.java:835
#54 (Generated Stub) <null>
Thread T115 (tid=703, running) created by thread T114 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z SimpleAddressManager.java:276
#13 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.internalAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Z)Z PostOfficeImpl.java:455
#14 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z PostOfficeImpl.java:442
#15 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z ActiveMQServerImpl.java:3274
#16 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createAddress(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ActiveMQServerControlImpl.java:815
#17 jdk.internal.reflect.GeneratedMethodAccessor24.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#18 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#19 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#20 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#21 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#22 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#23 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#24 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#25 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#26 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#27 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#28 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#29 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#30 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#31 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#32 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#33 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#34 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#35 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#36 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#37 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#38 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#39 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#40 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#41 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#42 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#43 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#44 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#45 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#46 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#48 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#49 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#50 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#51 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#52 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#53 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#54 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#55 java.lang.Thread.run()V Thread.java:835
#56 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race HashSet.java:173 in java.util.HashSet.iterator()Ljava/util/Iterator;
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 4 at 0x0000af0d7d58 by thread T94:
#0 java.util.HashMap$HashIterator.<init>(Ljava/util/HashMap;)V HashMap.java:1478
#1 java.util.HashMap$KeyIterator.<init>(Ljava/util/HashMap;)V HashMap.java:1516
#2 java.util.HashMap$KeySet.iterator()Ljava/util/Iterator; HashMap.java:917
#3 java.util.HashSet.iterator()Ljava/util/Iterator; HashSet.java:173
#4 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.commit(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;)V JournalTransaction.java:285
#5 org.apache.activemq.artemis.core.journal.impl.JournalImpl$9.run()V JournalImpl.java:1326
#6 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#8 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#9 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#10 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#11 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#12 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#13 (Generated Stub) <null>
Previous write of size 4 at 0x0000af0d7d58 by thread T115:
#0 java.util.HashMap.putVal(ILjava/lang/Object;Ljava/lang/Object;ZZ)Ljava/lang/Object; HashMap.java:661
#1 java.util.HashMap.put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; HashMap.java:612
#2 java.util.HashSet.add(Ljava/lang/Object;)Z HashSet.java:220
#3 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.addFile(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;)V JournalTransaction.java:383
#4 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.addNegative(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;J)V JournalTransaction.java:220
#5 org.apache.activemq.artemis.core.journal.impl.JournalImpl$7.run()V JournalImpl.java:1185
#6 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#8 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#9 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#10 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#11 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#12 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#13 (Generated Stub) <null>
Thread T94 (tid=19827, running) created by thread T128 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.removeAddressInfo(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/core/security/SecurityAuth;Z)V ActiveMQServerImpl.java:3313
#13 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;Z)V ActiveMQServerControlImpl.java:868
#14 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;)V ActiveMQServerControlImpl.java:856
#15 jdk.internal.reflect.GeneratedMethodAccessor30.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#16 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#17 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#18 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#19 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#20 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#21 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#22 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#23 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#24 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#25 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#26 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#27 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#28 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#29 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#30 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#31 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#32 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#33 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#34 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#35 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#36 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#37 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#38 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#39 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#40 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#41 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#42 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#43 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#44 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#45 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#46 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#48 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#49 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#50 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#51 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#52 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#53 java.lang.Thread.run()V Thread.java:835
#54 (Generated Stub) <null>
Thread T115 (tid=703, running) created by thread T114 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z SimpleAddressManager.java:276
#13 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.internalAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Z)Z PostOfficeImpl.java:455
#14 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z PostOfficeImpl.java:442
#15 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z ActiveMQServerImpl.java:3274
#16 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createAddress(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ActiveMQServerControlImpl.java:815
#17 jdk.internal.reflect.GeneratedMethodAccessor24.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#18 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#19 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#20 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#21 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#22 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#23 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#24 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#25 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#26 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#27 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#28 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#29 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#30 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#31 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#32 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#33 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#34 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#35 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#36 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#37 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#38 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#39 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#40 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#41 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#42 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#43 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#44 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#45 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#46 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#48 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#49 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#50 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#51 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#52 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#53 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#54 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#55 java.lang.Thread.run()V Thread.java:835
#56 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race HashMap.java:1478 in java.util.HashMap$HashIterator.<init>(Ljava/util/HashMap;)V
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 4 at 0x0000af0d7d64 by thread T94:
#0 java.util.HashMap$HashIterator.<init>(Ljava/util/HashMap;)V HashMap.java:1479
#1 java.util.HashMap$KeyIterator.<init>(Ljava/util/HashMap;)V HashMap.java:1516
#2 java.util.HashMap$KeySet.iterator()Ljava/util/Iterator; HashMap.java:917
#3 java.util.HashSet.iterator()Ljava/util/Iterator; HashSet.java:173
#4 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.commit(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;)V JournalTransaction.java:285
#5 org.apache.activemq.artemis.core.journal.impl.JournalImpl$9.run()V JournalImpl.java:1326
#6 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#8 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#9 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#10 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#11 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#12 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#13 (Generated Stub) <null>
Previous write of size 4 at 0x0000af0d7d64 by thread T115:
#0 java.util.HashMap.resize()[Ljava/util/HashMap$Node; HashMap.java:705
#1 java.util.HashMap.putVal(ILjava/lang/Object;Ljava/lang/Object;ZZ)Ljava/lang/Object; HashMap.java:629
#2 java.util.HashMap.put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; HashMap.java:612
#3 java.util.HashSet.add(Ljava/lang/Object;)Z HashSet.java:220
#4 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.addFile(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;)V JournalTransaction.java:383
#5 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.addNegative(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;J)V JournalTransaction.java:220
#6 org.apache.activemq.artemis.core.journal.impl.JournalImpl$7.run()V JournalImpl.java:1185
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#8 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#9 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#10 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#11 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#12 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#13 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#14 (Generated Stub) <null>
Thread T94 (tid=19827, running) created by thread T128 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.removeAddressInfo(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/core/security/SecurityAuth;Z)V ActiveMQServerImpl.java:3313
#13 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;Z)V ActiveMQServerControlImpl.java:868
#14 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;)V ActiveMQServerControlImpl.java:856
#15 jdk.internal.reflect.GeneratedMethodAccessor30.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#16 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#17 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#18 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#19 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#20 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#21 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#22 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#23 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#24 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#25 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#26 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#27 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#28 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#29 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#30 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#31 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#32 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#33 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#34 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#35 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#36 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#37 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#38 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#39 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#40 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#41 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#42 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#43 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#44 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#45 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#46 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#48 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#49 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#50 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#51 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#52 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#53 java.lang.Thread.run()V Thread.java:835
#54 (Generated Stub) <null>
Thread T115 (tid=703, running) created by thread T114 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z SimpleAddressManager.java:276
#13 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.internalAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Z)Z PostOfficeImpl.java:455
#14 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z PostOfficeImpl.java:442
#15 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z ActiveMQServerImpl.java:3274
#16 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createAddress(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ActiveMQServerControlImpl.java:815
#17 jdk.internal.reflect.GeneratedMethodAccessor24.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#18 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#19 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#20 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#21 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#22 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#23 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#24 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#25 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#26 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#27 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#28 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#29 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#30 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#31 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#32 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#33 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#34 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#35 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#36 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#37 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#38 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#39 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#40 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#41 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#42 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#43 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#44 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#45 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#46 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#48 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#49 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#50 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#51 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#52 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#53 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#54 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#55 java.lang.Thread.run()V Thread.java:835
#56 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race HashMap.java:1479 in java.util.HashMap$HashIterator.<init>(Ljava/util/HashMap;)V
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 4 at 0x0000af0d7d54 by thread T94:
#0 java.util.HashMap$HashIterator.<init>(Ljava/util/HashMap;)V HashMap.java:1482
#1 java.util.HashMap$KeyIterator.<init>(Ljava/util/HashMap;)V HashMap.java:1516
#2 java.util.HashMap$KeySet.iterator()Ljava/util/Iterator; HashMap.java:917
#3 java.util.HashSet.iterator()Ljava/util/Iterator; HashSet.java:173
#4 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.commit(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;)V JournalTransaction.java:285
#5 org.apache.activemq.artemis.core.journal.impl.JournalImpl$9.run()V JournalImpl.java:1326
#6 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#8 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#9 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#10 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#11 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#12 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#13 (Generated Stub) <null>
Previous write of size 4 at 0x0000af0d7d54 by thread T115:
#0 java.util.HashMap.putVal(ILjava/lang/Object;Ljava/lang/Object;ZZ)Ljava/lang/Object; HashMap.java:662
#1 java.util.HashMap.put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; HashMap.java:612
#2 java.util.HashSet.add(Ljava/lang/Object;)Z HashSet.java:220
#3 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.addFile(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;)V JournalTransaction.java:383
#4 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.addNegative(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;J)V JournalTransaction.java:220
#5 org.apache.activemq.artemis.core.journal.impl.JournalImpl$7.run()V JournalImpl.java:1185
#6 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#8 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#9 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#10 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#11 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#12 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#13 (Generated Stub) <null>
Thread T94 (tid=19827, running) created by thread T128 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.removeAddressInfo(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/core/security/SecurityAuth;Z)V ActiveMQServerImpl.java:3313
#13 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;Z)V ActiveMQServerControlImpl.java:868
#14 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;)V ActiveMQServerControlImpl.java:856
#15 jdk.internal.reflect.GeneratedMethodAccessor30.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#16 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#17 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#18 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#19 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#20 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#21 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#22 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#23 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#24 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#25 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#26 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#27 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#28 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#29 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#30 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#31 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#32 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#33 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#34 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#35 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#36 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#37 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#38 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#39 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#40 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#41 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#42 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#43 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#44 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#45 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#46 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#48 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#49 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#50 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#51 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#52 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#53 java.lang.Thread.run()V Thread.java:835
#54 (Generated Stub) <null>
Thread T115 (tid=703, running) created by thread T114 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z SimpleAddressManager.java:276
#13 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.internalAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Z)Z PostOfficeImpl.java:455
#14 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z PostOfficeImpl.java:442
#15 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z ActiveMQServerImpl.java:3274
#16 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createAddress(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ActiveMQServerControlImpl.java:815
#17 jdk.internal.reflect.GeneratedMethodAccessor24.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#18 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#19 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#20 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#21 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#22 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#23 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#24 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#25 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#26 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#27 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#28 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#29 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#30 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#31 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#32 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#33 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#34 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#35 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#36 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#37 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#38 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#39 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#40 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#41 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#42 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#43 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#44 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#45 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#46 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#48 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#49 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#50 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#51 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#52 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#53 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#54 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#55 java.lang.Thread.run()V Thread.java:835
#56 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race HashMap.java:1482 in java.util.HashMap$HashIterator.<init>(Ljava/util/HashMap;)V
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 4 at 0x0000af0d7d9c by thread T94:
#0 java.util.HashMap$HashIterator.<init>(Ljava/util/HashMap;)V HashMap.java:1483
#1 java.util.HashMap$KeyIterator.<init>(Ljava/util/HashMap;)V HashMap.java:1516
#2 java.util.HashMap$KeySet.iterator()Ljava/util/Iterator; HashMap.java:917
#3 java.util.HashSet.iterator()Ljava/util/Iterator; HashSet.java:173
#4 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.commit(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;)V JournalTransaction.java:285
#5 org.apache.activemq.artemis.core.journal.impl.JournalImpl$9.run()V JournalImpl.java:1326
#6 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#8 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#9 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#10 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#11 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#12 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#13 (Generated Stub) <null>
Previous write of size 4 at 0x0000af0d7d9c by thread T115:
#0 java.util.HashMap.putVal(ILjava/lang/Object;Ljava/lang/Object;ZZ)Ljava/lang/Object; HashMap.java:631
#1 java.util.HashMap.put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; HashMap.java:612
#2 java.util.HashSet.add(Ljava/lang/Object;)Z HashSet.java:220
#3 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.addFile(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;)V JournalTransaction.java:383
#4 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.addNegative(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;J)V JournalTransaction.java:220
#5 org.apache.activemq.artemis.core.journal.impl.JournalImpl$7.run()V JournalImpl.java:1185
#6 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#8 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#9 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#10 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#11 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#12 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#13 (Generated Stub) <null>
Thread T94 (tid=19827, running) created by thread T128 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.removeAddressInfo(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/core/security/SecurityAuth;Z)V ActiveMQServerImpl.java:3313
#13 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;Z)V ActiveMQServerControlImpl.java:868
#14 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;)V ActiveMQServerControlImpl.java:856
#15 jdk.internal.reflect.GeneratedMethodAccessor30.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#16 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#17 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#18 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#19 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#20 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#21 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#22 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#23 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#24 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#25 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#26 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#27 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#28 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#29 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#30 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#31 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#32 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#33 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#34 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#35 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#36 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#37 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#38 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#39 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#40 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#41 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#42 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#43 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#44 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#45 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#46 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#48 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#49 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#50 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#51 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#52 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#53 java.lang.Thread.run()V Thread.java:835
#54 (Generated Stub) <null>
Thread T115 (tid=703, running) created by thread T114 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z SimpleAddressManager.java:276
#13 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.internalAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Z)Z PostOfficeImpl.java:455
#14 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z PostOfficeImpl.java:442
#15 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z ActiveMQServerImpl.java:3274
#16 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createAddress(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ActiveMQServerControlImpl.java:815
#17 jdk.internal.reflect.GeneratedMethodAccessor24.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#18 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#19 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#20 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#21 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#22 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#23 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#24 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#25 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#26 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#27 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#28 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#29 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#30 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#31 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#32 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#33 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#34 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#35 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#36 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#37 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#38 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#39 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#40 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#41 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#42 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#43 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#44 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#45 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#46 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#48 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#49 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#50 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#51 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#52 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#53 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#54 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#55 java.lang.Thread.run()V Thread.java:835
#56 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race HashMap.java:1483 in java.util.HashMap$HashIterator.<init>(Ljava/util/HashMap;)V
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 4 at 0x0000af0d7dd8 by thread T94:
#0 java.util.HashMap$HashIterator.nextNode()Ljava/util/HashMap$Node; HashMap.java:1498
#1 java.util.HashMap$KeyIterator.next()Ljava/lang/Object; HashMap.java:1518
#2 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.commit(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;)V JournalTransaction.java:285
#3 org.apache.activemq.artemis.core.journal.impl.JournalImpl$9.run()V JournalImpl.java:1326
#4 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#5 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#7 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#8 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#9 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#10 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#11 (Generated Stub) <null>
Previous write of size 4 at 0x0000af0d7dd8 by thread T115:
#0 java.util.HashMap$Node.<init>(ILjava/lang/Object;Ljava/lang/Object;Ljava/util/HashMap$Node;)V HashMap.java:289
#1 java.util.HashMap.newNode(ILjava/lang/Object;Ljava/lang/Object;Ljava/util/HashMap$Node;)Ljava/util/HashMap$Node; HashMap.java:1799
#2 java.util.HashMap.putVal(ILjava/lang/Object;Ljava/lang/Object;ZZ)Ljava/lang/Object; HashMap.java:631
#3 java.util.HashMap.put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; HashMap.java:612
#4 java.util.HashSet.add(Ljava/lang/Object;)Z HashSet.java:220
#5 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.addFile(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;)V JournalTransaction.java:383
#6 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.addNegative(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;J)V JournalTransaction.java:220
#7 org.apache.activemq.artemis.core.journal.impl.JournalImpl$7.run()V JournalImpl.java:1185
#8 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#9 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#10 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#11 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#12 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#13 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#14 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#15 (Generated Stub) <null>
Thread T94 (tid=19827, running) created by thread T128 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.removeAddressInfo(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/core/security/SecurityAuth;Z)V ActiveMQServerImpl.java:3313
#13 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;Z)V ActiveMQServerControlImpl.java:868
#14 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;)V ActiveMQServerControlImpl.java:856
#15 jdk.internal.reflect.GeneratedMethodAccessor30.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#16 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#17 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#18 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#19 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#20 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#21 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#22 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#23 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#24 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#25 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#26 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#27 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#28 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#29 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#30 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#31 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#32 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#33 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#34 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#35 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#36 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#37 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#38 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#39 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#40 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#41 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#42 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#43 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#44 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#45 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#46 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#48 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#49 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#50 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#51 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#52 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#53 java.lang.Thread.run()V Thread.java:835
#54 (Generated Stub) <null>
Thread T115 (tid=703, running) created by thread T114 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z SimpleAddressManager.java:276
#13 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.internalAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Z)Z PostOfficeImpl.java:455
#14 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z PostOfficeImpl.java:442
#15 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z ActiveMQServerImpl.java:3274
#16 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createAddress(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ActiveMQServerControlImpl.java:815
#17 jdk.internal.reflect.GeneratedMethodAccessor24.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#18 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#19 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#20 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#21 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#22 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#23 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#24 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#25 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#26 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#27 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#28 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#29 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#30 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#31 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#32 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#33 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#34 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#35 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#36 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#37 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#38 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#39 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#40 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#41 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#42 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#43 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#44 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#45 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#46 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#48 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#49 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#50 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#51 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#52 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#53 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#54 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#55 java.lang.Thread.run()V Thread.java:835
#56 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race HashMap.java:1498 in java.util.HashMap$HashIterator.nextNode()Ljava/util/HashMap$Node;
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Write of size 4 at 0x0000815ac37c by thread T123 (mutexes: write M247135031711284352, write M215032):
#0 java.util.HashMap.resize()[Ljava/util/HashMap$Node; HashMap.java:710
#1 java.util.HashMap.putVal(ILjava/lang/Object;Ljava/lang/Object;ZZ)Ljava/lang/Object; HashMap.java:663
#2 java.util.HashMap.put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; HashMap.java:612
#3 com.sun.jmx.mbeanserver.Repository.addMoiToTb(Ljavax/management/DynamicMBean;Ljavax/management/ObjectName;Ljava/lang/String;Ljava/util/Map;Lcom/sun/jmx/mbeanserver/Repository$RegistrationContext;)V Repository.java:279
#4 com.sun.jmx.mbeanserver.Repository.addMBean(Ljavax/management/DynamicMBean;Ljavax/management/ObjectName;Lcom/sun/jmx/mbeanserver/Repository$RegistrationContext;)V Repository.java:439
#5 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(Ljava/lang/Object;Ljavax/management/DynamicMBean;Ljavax/management/ObjectName;)Lcom/sun/jmx/interceptor/DefaultMBeanServerInterceptor$ResourceContext; DefaultMBeanServerInterceptor.java:1855
#6 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(Ljava/lang/String;Ljavax/management/DynamicMBean;Ljavax/management/ObjectName;)Ljavax/management/ObjectInstance; DefaultMBeanServerInterceptor.java:955
#7 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(Ljava/lang/String;Ljava/lang/Object;Ljavax/management/ObjectName;)Ljavax/management/ObjectInstance; DefaultMBeanServerInterceptor.java:890
#8 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(Ljava/lang/Object;Ljavax/management/ObjectName;)Ljavax/management/ObjectInstance; DefaultMBeanServerInterceptor.java:320
#9 com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(Ljava/lang/Object;Ljavax/management/ObjectName;)Ljavax/management/ObjectInstance; JmxMBeanServer.java:522
#10 org.apache.activemq.artemis.core.server.management.impl.ManagementServiceImpl.registerInJMX(Ljavax/management/ObjectName;Ljava/lang/Object;)V ManagementServiceImpl.java:486
#11 org.apache.activemq.artemis.core.server.management.impl.ManagementServiceImpl.registerAddress(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)V ManagementServiceImpl.java:223
#12 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.internalAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Z)Z PostOfficeImpl.java:461
#13 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z PostOfficeImpl.java:442
#14 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z ActiveMQServerImpl.java:3274
#15 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createAddress(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ActiveMQServerControlImpl.java:815
#16 jdk.internal.reflect.GeneratedMethodAccessor24.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#17 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#18 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#19 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#20 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#21 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#22 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#23 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#24 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#25 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#26 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#27 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#28 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#29 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#30 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#31 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#32 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#33 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#34 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#35 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#36 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#37 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#38 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#39 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#40 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#41 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#42 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#43 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#44 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#45 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#46 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#48 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#49 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#50 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#51 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#52 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#53 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#54 java.lang.Thread.run()V Thread.java:835
#55 (Generated Stub) <null>
Previous read of size 4 at 0x0000815ac37c by thread T175 (mutexes: write M386465145932514864, write M386465145933675928, write M31243725359150736, write M31243725324704600, write M31243725324844744, write M655273748694257288, write M386465145932649192, write M386465145933721776, write M386465145933611144, write M386465145932490272, write M386465145933576376):
#0 java.util.HashMap.getNode(ILjava/lang/Object;)Ljava/util/HashMap$Node; HashMap.java:569
#1 java.util.HashMap.get(Ljava/lang/Object;)Ljava/lang/Object; HashMap.java:557
#2 com.sun.jmx.mbeanserver.Repository.retrieveNamedObject(Ljavax/management/ObjectName;)Lcom/sun/jmx/mbeanserver/NamedObject; Repository.java:304
#3 com.sun.jmx.mbeanserver.Repository.retrieve(Ljavax/management/ObjectName;)Ljavax/management/DynamicMBean; Repository.java:486
#4 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(Ljavax/management/ObjectName;)Ljavax/management/DynamicMBean; DefaultMBeanServerInterceptor.java:1077
#5 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:806
#6 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#7 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#8 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#9 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#10 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#11 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#12 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#13 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#14 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#15 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#16 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#17 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#18 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#19 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#20 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#21 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#22 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#23 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#24 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#25 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#26 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#27 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#28 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#29 java.lang.Thread.run()V Thread.java:835
#30 (Generated Stub) <null>
Mutex M247135031711284352 is already destroyed.
Mutex M215032 (0x000080155b68) created at:
#0 __tsan_java_mutex_lock <null> (java+0x487673)
#1 <null> <null> (0x7f4d749243f5)
#2 org.apache.activemq.artemis.core.server.management.impl.ManagementServiceImpl.registerServer(Lorg/apache/activemq/artemis/core/postoffice/PostOffice;Lorg/apache/activemq/artemis/core/security/SecurityStore;Lorg/apache/activemq/artemis/core/persistence/Sto ManagementServiceImpl.java:205
#3 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart1(Z)Z ActiveMQServerImpl.java:2824
#4 org.apache.activemq.artemis.core.server.impl.LiveOnlyActivation.run()V LiveOnlyActivation.java:68
#5 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.internalStart()V ActiveMQServerImpl.java:601
#6 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.start()V ActiveMQServerImpl.java:528
#7 org.apache.activemq.artemis.integration.FileBroker.start()V FileBroker.java:70
#8 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:84
#9 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#10 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#11 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#12 (Generated Stub) <null>
#13 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#14 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#15 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#16 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#17 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#18 (Generated Stub) <null>
Mutex M386465145932514864 is already destroyed.
Mutex M386465145933675928 is already destroyed.
Mutex M31243725359150736 is already destroyed.
Mutex M31243725324704600 is already destroyed.
Mutex M31243725324844744 is already destroyed.
Mutex M655273748694257288 is already destroyed.
Mutex M386465145932649192 is already destroyed.
Mutex M386465145933721776 is already destroyed.
Mutex M386465145933611144 is already destroyed.
Mutex M386465145932490272 is already destroyed.
Mutex M386465145933576376 is already destroyed.
Thread T123 (tid=30238, running) created by thread T13 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop()V TCPTransport.java:409
#6 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run()V TCPTransport.java:366
#7 java.lang.Thread.run()V Thread.java:835
#8 (Generated Stub) <null>
Thread T175 (tid=17852, running) created by thread T13 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop()V TCPTransport.java:409
#6 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run()V TCPTransport.java:366
#7 java.lang.Thread.run()V Thread.java:835
#8 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race HashMap.java:710 in java.util.HashMap.resize()[Ljava/util/HashMap$Node;
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 4 at 0x0000adb80bcc by thread T59:
#0 java.util.concurrent.SynchronousQueue$TransferStack.transfer(Ljava/lang/Object;ZJ)Ljava/lang/Object; SynchronousQueue.java:354
#1 java.util.concurrent.SynchronousQueue.offer(Ljava/lang/Object;)Z SynchronousQueue.java:909
#2 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1347
#3 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#4 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#5 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#6 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendDeleteRecordTransactional(JJLorg/apache/activemq/artemis/core/journal/EncodingSupport;)V JournalImpl.java:1162
#7 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendDeleteRecordTransactional(JJ)V JournalBase.java:98
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendDeleteRecordTransactional(JJ)V JournalImpl.java:93
#9 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.deleteAddressBinding(JJ)V AbstractJournalStorageManager.java:1396
#10 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.removeAddressInfo(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/core/security/SecurityAuth;Z)V ActiveMQServerImpl.java:3312
#11 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;Z)V ActiveMQServerControlImpl.java:868
#12 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;)V ActiveMQServerControlImpl.java:856
#13 jdk.internal.reflect.GeneratedMethodAccessor30.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#14 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#15 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#16 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#17 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#18 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#19 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#20 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#21 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#22 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#23 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#24 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#25 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#26 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#27 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#28 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#29 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#30 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#31 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#32 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#33 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#34 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#35 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#36 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#37 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#38 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#39 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#40 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#41 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#42 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#43 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#44 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#45 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#46 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#47 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#48 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#49 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#50 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#51 java.lang.Thread.run()V Thread.java:835
#52 (Generated Stub) <null>
Previous write of size 4 at 0x0000adb80bcc by thread T105:
#0 java.util.concurrent.SynchronousQueue$TransferStack.snode(Ljava/util/concurrent/SynchronousQueue$TransferStack$SNode;Ljava/lang/Object;Ljava/util/concurrent/SynchronousQueue$TransferStack$SNode;I)Ljava/util/concurrent/SynchronousQueue$TransferStack$SNode; SynchronousQueue.java:318
#1 java.util.concurrent.SynchronousQueue$TransferStack.transfer(Ljava/lang/Object;ZJ)Ljava/lang/Object; SynchronousQueue.java:373
#2 java.util.concurrent.SynchronousQueue.offer(Ljava/lang/Object;)Z SynchronousQueue.java:909
#3 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1347
#4 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#6 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#7 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#8 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#9 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#10 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#11 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.removeAddressInfo(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/core/security/SecurityAuth;Z)V ActiveMQServerImpl.java:3313
#12 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;Z)V ActiveMQServerControlImpl.java:868
#13 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;)V ActiveMQServerControlImpl.java:856
#14 jdk.internal.reflect.GeneratedMethodAccessor30.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#15 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#16 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#17 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#18 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#19 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#20 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#21 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#22 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#23 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#24 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#25 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#26 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#27 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#28 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#29 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#30 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#31 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#32 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#33 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#34 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#35 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#36 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#37 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#38 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#39 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#40 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#41 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#42 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#43 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#44 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#45 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#46 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#47 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#48 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#49 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#50 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#51 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#52 java.lang.Thread.run()V Thread.java:835
#53 (Generated Stub) <null>
Thread T59 (tid=30240, running) created by thread T13 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop()V TCPTransport.java:409
#6 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run()V TCPTransport.java:366
#7 java.lang.Thread.run()V Thread.java:835
#8 (Generated Stub) <null>
Thread T105 (tid=30308, running) created by thread T13 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop()V TCPTransport.java:409
#6 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run()V TCPTransport.java:366
#7 java.lang.Thread.run()V Thread.java:835
#8 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race SynchronousQueue.java:354 in java.util.concurrent.SynchronousQueue$TransferStack.transfer(Ljava/lang/Object;ZJ)Ljava/lang/Object;
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 4 at 0x000080b4cebc by thread T59:
#0 java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryAcquireShared(I)I ReentrantReadWriteLock.java:484
#1 java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireShared(I)V AbstractQueuedSynchronizer.java:1323
#2 java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.lock()V ReentrantReadWriteLock.java:738
#3 org.apache.activemq.artemis.core.paging.impl.PagingManagerImpl.deletePageStore(Lorg/apache/activemq/artemis/api/core/SimpleString;)V PagingManagerImpl.java:339
#4 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.removeAddressInfo(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/core/security/SecurityAuth;Z)V ActiveMQServerImpl.java:3314
#5 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;Z)V ActiveMQServerControlImpl.java:868
#6 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;)V ActiveMQServerControlImpl.java:856
#7 jdk.internal.reflect.GeneratedMethodAccessor30.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#8 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#9 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#10 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#11 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#12 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#13 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#14 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#15 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#16 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#17 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#18 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#19 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#20 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#21 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#22 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#23 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#24 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#25 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#26 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#27 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#28 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#29 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#30 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#31 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#32 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#33 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#34 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#35 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#36 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#37 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#38 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#39 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#40 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#41 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#42 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#43 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#44 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#45 java.lang.Thread.run()V Thread.java:835
#46 (Generated Stub) <null>
Previous write of size 4 at 0x000080b4cebc by thread T27:
#0 java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryAcquireShared(I)I ReentrantReadWriteLock.java:487
#1 java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireShared(I)V AbstractQueuedSynchronizer.java:1323
#2 java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.lock()V ReentrantReadWriteLock.java:738
#3 org.apache.activemq.artemis.core.paging.impl.PagingManagerImpl.deletePageStore(Lorg/apache/activemq/artemis/api/core/SimpleString;)V PagingManagerImpl.java:339
#4 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.removeAddressInfo(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/core/security/SecurityAuth;Z)V ActiveMQServerImpl.java:3314
#5 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;Z)V ActiveMQServerControlImpl.java:868
#6 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;)V ActiveMQServerControlImpl.java:856
#7 jdk.internal.reflect.GeneratedMethodAccessor30.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#8 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#9 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#10 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#11 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#12 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#13 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#14 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#15 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#16 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#17 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#18 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#19 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#20 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#21 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#22 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#23 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#24 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#25 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#26 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#27 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#28 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#29 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#30 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#31 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#32 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#33 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#34 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#35 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#36 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#37 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#38 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#39 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#40 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#41 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#42 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#43 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#44 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#45 java.lang.Thread.run()V Thread.java:835
#46 (Generated Stub) <null>
Thread T59 (tid=30240, running) created by thread T13 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop()V TCPTransport.java:409
#6 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run()V TCPTransport.java:366
#7 java.lang.Thread.run()V Thread.java:835
#8 (Generated Stub) <null>
Thread T27 (tid=30242, running) created by thread T13 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop()V TCPTransport.java:409
#6 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run()V TCPTransport.java:366
#7 java.lang.Thread.run()V Thread.java:835
#8 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race ReentrantReadWriteLock.java:484 in java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryAcquireShared(I)I
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Write of size 4 at 0x0000817ce3a0 by thread T109 (mutexes: write M681732396503051904, write M622341176416204456, write M622341176417097752, write M622341176417091640, write M925208251359519760, write M622341176416055216, write M622341176416019768, write M622341176417129696, write M622341176417099104, write M622341176416019800, write M622341176417093128, write M622341176456631640, write M622341176416032352, write M622341176417118808, write M28903915):
#0 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.siftUp(ILjava/util/concurrent/RunnableScheduledFuture;)V ScheduledThreadPoolExecutor.java:977
#1 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.offer(Ljava/lang/Runnable;)Z ScheduledThreadPoolExecutor.java:1110
#2 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.add(Ljava/lang/Runnable;)Z ScheduledThreadPoolExecutor.java:1127
#3 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.add(Ljava/lang/Object;)Z ScheduledThreadPoolExecutor.java:899
#4 java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(Ljava/util/concurrent/RunnableScheduledFuture;)V ScheduledThreadPoolExecutor.java:342
#5 java.util.concurrent.ScheduledThreadPoolExecutor.schedule(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture; ScheduledThreadPoolExecutor.java:562
#6 sun.rmi.transport.DGCAckHandler.startTimer()V DGCAckHandler.java:119
#7 sun.rmi.transport.ConnectionOutputStream.done()V ConnectionOutputStream.java:106
#8 sun.rmi.transport.StreamRemoteCall.releaseOutputStream()V StreamRemoteCall.java:117
#9 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:407
#10 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#11 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#12 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#13 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#14 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#15 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#16 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#17 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#18 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#19 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#20 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#21 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#22 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#23 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#24 java.lang.Thread.run()V Thread.java:835
#25 (Generated Stub) <null>
Previous write of size 4 at 0x0000817ce3a0 by thread T83:
#0 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.finishPoll(Ljava/util/concurrent/RunnableScheduledFuture;)Ljava/util/concurrent/RunnableScheduledFuture; ScheduledThreadPoolExecutor.java:1143
#1 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take()Ljava/util/concurrent/RunnableScheduledFuture; ScheduledThreadPoolExecutor.java:1174
#2 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take()Ljava/lang/Object; ScheduledThreadPoolExecutor.java:899
#3 java.util.concurrent.ThreadPoolExecutor.getTask()Ljava/lang/Runnable; ThreadPoolExecutor.java:1054
#4 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1114
#5 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#6 java.lang.Thread.run()V Thread.java:835
#7 (Generated Stub) <null>
Mutex M681732396503051904 is already destroyed.
Mutex M622341176416204456 is already destroyed.
Mutex M622341176417097752 is already destroyed.
Mutex M622341176417091640 is already destroyed.
Mutex M925208251359519760 is already destroyed.
Mutex M622341176416055216 is already destroyed.
Mutex M622341176416019768 is already destroyed.
Mutex M622341176417129696 is already destroyed.
Mutex M622341176417099104 is already destroyed.
Mutex M622341176416019800 is already destroyed.
Mutex M622341176417093128 is already destroyed.
Mutex M622341176456631640 is already destroyed.
Mutex M622341176416032352 is already destroyed.
Mutex M622341176417118808 is already destroyed.
Mutex M28903915 (0x0000ae3b1620) created at:
#0 __tsan_java_mutex_lock <null> (java+0x487673)
#1 <null> <null> (0x7f4d74910ec7)
#2 sun.rmi.transport.LiveRef.write(Ljava/io/ObjectOutput;Z)V LiveRef.java:264
#3 sun.rmi.server.UnicastRef.writeExternal(Ljava/io/ObjectOutput;)V UnicastRef.java:478
#4 java.rmi.server.RemoteObject.writeObject(Ljava/io/ObjectOutputStream;)V RemoteObject.java:381
#5 jdk.internal.reflect.GeneratedMethodAccessor12.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#6 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#7 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#8 java.io.ObjectStreamClass.invokeWriteObject(Ljava/lang/Object;Ljava/io/ObjectOutputStream;)V ObjectStreamClass.java:1130
#9 java.io.ObjectOutputStream.writeSerialData(Ljava/lang/Object;Ljava/io/ObjectStreamClass;)V ObjectOutputStream.java:1497
#10 java.io.ObjectOutputStream.writeOrdinaryObject(Ljava/lang/Object;Ljava/io/ObjectStreamClass;Z)V ObjectOutputStream.java:1433
#11 java.io.ObjectOutputStream.writeObject0(Ljava/lang/Object;Z)V ObjectOutputStream.java:1179
#12 java.io.ObjectOutputStream.writeObject(Ljava/lang/Object;)V ObjectOutputStream.java:349
#13 sun.rmi.registry.RegistryImpl_Skel.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;IJ)V RegistryImpl_Skel.java:118
#14 sun.rmi.server.UnicastServerRef.oldDispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;I)V UnicastServerRef.java:467
#15 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:297
#16 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#17 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#18 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#19 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#20 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#21 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#22 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#23 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#24 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#25 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#26 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#27 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#28 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#29 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#30 java.lang.Thread.run()V Thread.java:835
#31 (Generated Stub) <null>
Thread T109 (tid=2287, running) created by thread T13 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop()V TCPTransport.java:409
#6 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run()V TCPTransport.java:366
#7 java.lang.Thread.run()V Thread.java:835
#8 (Generated Stub) <null>
Thread T83 (tid=26785, running) created by thread T73 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.ensurePrestart()V ThreadPoolExecutor.java:1583
#5 java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(Ljava/util/concurrent/RunnableScheduledFuture;)V ScheduledThreadPoolExecutor.java:346
#6 java.util.concurrent.ScheduledThreadPoolExecutor.schedule(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture; ScheduledThreadPoolExecutor.java:562
#7 sun.rmi.transport.DGCAckHandler.startTimer()V DGCAckHandler.java:119
#8 sun.rmi.transport.ConnectionOutputStream.done()V ConnectionOutputStream.java:106
#9 sun.rmi.transport.StreamRemoteCall.releaseOutputStream()V StreamRemoteCall.java:117
#10 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:407
#11 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#12 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#13 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#14 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#15 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#16 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#17 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#18 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#19 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#20 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#21 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#22 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#23 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#24 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#25 java.lang.Thread.run()V Thread.java:835
#26 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race ScheduledThreadPoolExecutor.java:977 in java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.siftUp(ILjava/util/concurrent/RunnableScheduledFuture;)V
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 4 at 0x0000817c3250 by thread T109 (mutexes: write M681732396503051904, write M622341176416204456, write M622341176417097752, write M622341176417091640, write M925208251359519760, write M622341176416055216, write M622341176416019768, write M622341176417129696, write M622341176417099104, write M622341176416019800, write M622341176417093128, write M622341176456631640, write M622341176416032352, write M622341176417118808, write M28903915):
#0 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.offer(Ljava/lang/Runnable;)Z ScheduledThreadPoolExecutor.java:1112
#1 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.add(Ljava/lang/Runnable;)Z ScheduledThreadPoolExecutor.java:1127
#2 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.add(Ljava/lang/Object;)Z ScheduledThreadPoolExecutor.java:899
#3 java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(Ljava/util/concurrent/RunnableScheduledFuture;)V ScheduledThreadPoolExecutor.java:342
#4 java.util.concurrent.ScheduledThreadPoolExecutor.schedule(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture; ScheduledThreadPoolExecutor.java:562
#5 sun.rmi.transport.DGCAckHandler.startTimer()V DGCAckHandler.java:119
#6 sun.rmi.transport.ConnectionOutputStream.done()V ConnectionOutputStream.java:106
#7 sun.rmi.transport.StreamRemoteCall.releaseOutputStream()V StreamRemoteCall.java:117
#8 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:407
#9 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#10 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#11 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#12 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#13 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#14 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#15 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#16 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#17 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#18 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#19 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#20 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#21 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#22 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#23 java.lang.Thread.run()V Thread.java:835
#24 (Generated Stub) <null>
Previous write of size 4 at 0x0000817c3250 by thread T83:
#0 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.siftDown(ILjava/util/concurrent/RunnableScheduledFuture;)V ScheduledThreadPoolExecutor.java:995
#1 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.finishPoll(Ljava/util/concurrent/RunnableScheduledFuture;)Ljava/util/concurrent/RunnableScheduledFuture; ScheduledThreadPoolExecutor.java:1145
#2 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take()Ljava/util/concurrent/RunnableScheduledFuture; ScheduledThreadPoolExecutor.java:1174
#3 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take()Ljava/lang/Object; ScheduledThreadPoolExecutor.java:899
#4 java.util.concurrent.ThreadPoolExecutor.getTask()Ljava/lang/Runnable; ThreadPoolExecutor.java:1054
#5 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1114
#6 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#7 java.lang.Thread.run()V Thread.java:835
#8 (Generated Stub) <null>
Mutex M681732396503051904 is already destroyed.
Mutex M622341176416204456 is already destroyed.
Mutex M622341176417097752 is already destroyed.
Mutex M622341176417091640 is already destroyed.
Mutex M925208251359519760 is already destroyed.
Mutex M622341176416055216 is already destroyed.
Mutex M622341176416019768 is already destroyed.
Mutex M622341176417129696 is already destroyed.
Mutex M622341176417099104 is already destroyed.
Mutex M622341176416019800 is already destroyed.
Mutex M622341176417093128 is already destroyed.
Mutex M622341176456631640 is already destroyed.
Mutex M622341176416032352 is already destroyed.
Mutex M622341176417118808 is already destroyed.
Mutex M28903915 (0x0000ae3b1620) created at:
#0 __tsan_java_mutex_lock <null> (java+0x487673)
#1 <null> <null> (0x7f4d74910ec7)
#2 sun.rmi.transport.LiveRef.write(Ljava/io/ObjectOutput;Z)V LiveRef.java:264
#3 sun.rmi.server.UnicastRef.writeExternal(Ljava/io/ObjectOutput;)V UnicastRef.java:478
#4 java.rmi.server.RemoteObject.writeObject(Ljava/io/ObjectOutputStream;)V RemoteObject.java:381
#5 jdk.internal.reflect.GeneratedMethodAccessor12.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#6 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#7 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#8 java.io.ObjectStreamClass.invokeWriteObject(Ljava/lang/Object;Ljava/io/ObjectOutputStream;)V ObjectStreamClass.java:1130
#9 java.io.ObjectOutputStream.writeSerialData(Ljava/lang/Object;Ljava/io/ObjectStreamClass;)V ObjectOutputStream.java:1497
#10 java.io.ObjectOutputStream.writeOrdinaryObject(Ljava/lang/Object;Ljava/io/ObjectStreamClass;Z)V ObjectOutputStream.java:1433
#11 java.io.ObjectOutputStream.writeObject0(Ljava/lang/Object;Z)V ObjectOutputStream.java:1179
#12 java.io.ObjectOutputStream.writeObject(Ljava/lang/Object;)V ObjectOutputStream.java:349
#13 sun.rmi.registry.RegistryImpl_Skel.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;IJ)V RegistryImpl_Skel.java:118
#14 sun.rmi.server.UnicastServerRef.oldDispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;I)V UnicastServerRef.java:467
#15 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:297
#16 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#17 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#18 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#19 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#20 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#21 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#22 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#23 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#24 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#25 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#26 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#27 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#28 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#29 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#30 java.lang.Thread.run()V Thread.java:835
#31 (Generated Stub) <null>
Thread T109 (tid=2287, running) created by thread T13 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop()V TCPTransport.java:409
#6 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run()V TCPTransport.java:366
#7 java.lang.Thread.run()V Thread.java:835
#8 (Generated Stub) <null>
Thread T83 (tid=26785, running) created by thread T73 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.ensurePrestart()V ThreadPoolExecutor.java:1583
#5 java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(Ljava/util/concurrent/RunnableScheduledFuture;)V ScheduledThreadPoolExecutor.java:346
#6 java.util.concurrent.ScheduledThreadPoolExecutor.schedule(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture; ScheduledThreadPoolExecutor.java:562
#7 sun.rmi.transport.DGCAckHandler.startTimer()V DGCAckHandler.java:119
#8 sun.rmi.transport.ConnectionOutputStream.done()V ConnectionOutputStream.java:106
#9 sun.rmi.transport.StreamRemoteCall.releaseOutputStream()V StreamRemoteCall.java:117
#10 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:407
#11 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#12 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#13 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#14 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#15 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#16 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#17 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#18 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#19 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#20 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#21 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#22 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#23 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#24 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#25 java.lang.Thread.run()V Thread.java:835
#26 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race ScheduledThreadPoolExecutor.java:1112 in java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.offer(Ljava/lang/Runnable;)Z
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 4 at 0x0000af818f2c by thread T140:
#0 java.util.concurrent.SynchronousQueue$TransferStack.transfer(Ljava/lang/Object;ZJ)Ljava/lang/Object; SynchronousQueue.java:354
#1 java.util.concurrent.SynchronousQueue.offer(Ljava/lang/Object;)Z SynchronousQueue.java:909
#2 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1347
#3 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#4 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#5 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#6 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#7 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#9 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#10 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.removeAddressInfo(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/core/security/SecurityAuth;Z)V ActiveMQServerImpl.java:3313
#11 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;Z)V ActiveMQServerControlImpl.java:868
#12 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;)V ActiveMQServerControlImpl.java:856
#13 jdk.internal.reflect.GeneratedMethodAccessor30.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#14 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#15 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#16 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#17 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#18 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#19 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#20 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#21 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#22 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#23 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#24 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#25 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#26 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#27 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#28 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#29 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#30 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#31 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#32 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#33 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#34 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#35 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#36 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#37 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#38 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#39 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#40 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#41 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#42 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#43 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#44 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#45 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#46 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#47 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#48 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#49 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#50 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#51 java.lang.Thread.run()V Thread.java:835
#52 (Generated Stub) <null>
Previous write of size 4 at 0x0000af818f2c by thread T216 (mutexes: write M227150309118331912, write M247135031711284352):
#0 java.util.concurrent.SynchronousQueue$TransferStack.snode(Ljava/util/concurrent/SynchronousQueue$TransferStack$SNode;Ljava/lang/Object;Ljava/util/concurrent/SynchronousQueue$TransferStack$SNode;I)Ljava/util/concurrent/SynchronousQueue$TransferStack$SNode; SynchronousQueue.java:318
#1 java.util.concurrent.SynchronousQueue$TransferStack.transfer(Ljava/lang/Object;ZJ)Ljava/lang/Object; SynchronousQueue.java:373
#2 java.util.concurrent.SynchronousQueue.offer(Ljava/lang/Object;)Z SynchronousQueue.java:909
#3 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1347
#4 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#6 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#7 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#8 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#9 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#10 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#11 org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z SimpleAddressManager.java:276
#12 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.internalAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Z)Z PostOfficeImpl.java:455
#13 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z PostOfficeImpl.java:442
#14 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z ActiveMQServerImpl.java:3274
#15 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createAddress(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ActiveMQServerControlImpl.java:815
#16 jdk.internal.reflect.GeneratedMethodAccessor24.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#17 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#18 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#19 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#20 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#21 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#22 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#23 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#24 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#25 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#26 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#27 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#28 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#29 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#30 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#31 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#32 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#33 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#34 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#35 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#36 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#37 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#38 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#39 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#40 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#41 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#42 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#43 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#44 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#45 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#46 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#48 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#49 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#50 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#51 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#52 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#53 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#54 java.lang.Thread.run()V Thread.java:835
#55 (Generated Stub) <null>
Mutex M227150309118331912 is already destroyed.
Mutex M247135031711284352 is already destroyed.
Thread T140 (tid=30276, running) created by thread T13 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop()V TCPTransport.java:409
#6 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run()V TCPTransport.java:366
#7 java.lang.Thread.run()V Thread.java:835
#8 (Generated Stub) <null>
Thread T216 (tid=31786, running) created by thread T13 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop()V TCPTransport.java:409
#6 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run()V TCPTransport.java:366
#7 java.lang.Thread.run()V Thread.java:835
#8 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race SynchronousQueue.java:354 in java.util.concurrent.SynchronousQueue$TransferStack.transfer(Ljava/lang/Object;ZJ)Ljava/lang/Object;
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 4 at 0x0000b53c385c by thread T189 (mutexes: write M247135031711284352):
#0 java.util.concurrent.SynchronousQueue$TransferStack.transfer(Ljava/lang/Object;ZJ)Ljava/lang/Object; SynchronousQueue.java:354
#1 java.util.concurrent.SynchronousQueue.offer(Ljava/lang/Object;)Z SynchronousQueue.java:909
#2 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1347
#3 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#4 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#5 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#6 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#7 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#9 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#10 org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z SimpleAddressManager.java:276
#11 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.internalAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Z)Z PostOfficeImpl.java:455
#12 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z PostOfficeImpl.java:442
#13 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z ActiveMQServerImpl.java:3274
#14 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createAddress(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ActiveMQServerControlImpl.java:815
#15 jdk.internal.reflect.GeneratedMethodAccessor24.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#16 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#17 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#18 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#19 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#20 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#21 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#22 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#23 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#24 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#25 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#26 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#27 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#28 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#29 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#30 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#31 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#32 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#33 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#34 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#35 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#36 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#37 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#38 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#39 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#40 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#41 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#42 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#43 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#44 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#45 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#46 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#48 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#49 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#50 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#51 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#52 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#53 java.lang.Thread.run()V Thread.java:835
#54 (Generated Stub) <null>
Previous write of size 4 at 0x0000b53c385c by thread T60:
#0 java.util.concurrent.SynchronousQueue$TransferStack.snode(Ljava/util/concurrent/SynchronousQueue$TransferStack$SNode;Ljava/lang/Object;Ljava/util/concurrent/SynchronousQueue$TransferStack$SNode;I)Ljava/util/concurrent/SynchronousQueue$TransferStack$SNode; SynchronousQueue.java:318
#1 java.util.concurrent.SynchronousQueue$TransferStack.transfer(Ljava/lang/Object;ZJ)Ljava/lang/Object; SynchronousQueue.java:373
#2 java.util.concurrent.SynchronousQueue.offer(Ljava/lang/Object;)Z SynchronousQueue.java:909
#3 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1347
#4 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#6 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#7 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#8 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#9 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#10 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#11 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.removeAddressInfo(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/core/security/SecurityAuth;Z)V ActiveMQServerImpl.java:3313
#12 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;Z)V ActiveMQServerControlImpl.java:868
#13 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;)V ActiveMQServerControlImpl.java:856
#14 jdk.internal.reflect.GeneratedMethodAccessor30.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#15 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#16 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#17 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#18 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#19 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#20 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#21 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#22 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#23 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#24 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#25 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#26 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#27 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#28 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#29 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#30 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#31 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#32 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#33 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#34 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#35 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#36 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#37 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#38 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#39 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#40 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#41 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#42 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#43 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#44 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#45 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#46 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#47 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#48 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#49 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#50 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#51 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#52 java.lang.Thread.run()V Thread.java:835
#53 (Generated Stub) <null>
Mutex M247135031711284352 is already destroyed.
Thread T189 (tid=31623, running) created by thread T13 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop()V TCPTransport.java:409
#6 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run()V TCPTransport.java:366
#7 java.lang.Thread.run()V Thread.java:835
#8 (Generated Stub) <null>
Thread T60 (tid=30539, running) created by thread T13 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop()V TCPTransport.java:409
#6 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run()V TCPTransport.java:366
#7 java.lang.Thread.run()V Thread.java:835
#8 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race SynchronousQueue.java:354 in java.util.concurrent.SynchronousQueue$TransferStack.transfer(Ljava/lang/Object;ZJ)Ljava/lang/Object;
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 4 at 0x0000b66084c0 by thread T158 (mutexes: write M589690079120583368, write M587438279306897296, write M281474979620566056, write M281474979620480256, write M281474979619467696, write M281474979620478224, write M281474979620463480, write M873135380668183536, write M867224406157258712, write M281477888604616, write M149181740601427800):
#0 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:816
#1 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#2 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#3 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#4 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#5 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#6 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#7 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#8 java.lang.Thread.run()V Thread.java:835
#9 (Generated Stub) <null>
Previous write of size 4 at 0x0000b66084c0 by thread T13 (mutexes: write M965177697923752472):
#0 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.<init>(Lsun/rmi/transport/tcp/TCPTransport;Ljava/net/Socket;Ljava/lang/String;)V TCPTransport.java:632
#1 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop()V TCPTransport.java:409
#2 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run()V TCPTransport.java:366
#3 java.lang.Thread.run()V Thread.java:835
#4 (Generated Stub) <null>
Mutex M589690079120583368 is already destroyed.
Mutex M587438279306897296 is already destroyed.
Mutex M281474979620566056 is already destroyed.
Mutex M281474979620480256 is already destroyed.
Mutex M281474979619467696 is already destroyed.
Mutex M281474979620478224 is already destroyed.
Mutex M281474979620463480 is already destroyed.
Mutex M873135380668183536 is already destroyed.
Mutex M867224406157258712 is already destroyed.
Mutex M281477888604616 is already destroyed.
Mutex M149181740601427800 is already destroyed.
Mutex M965177697923752472 is already destroyed.
Thread T158 (tid=11520, running) created by thread T13 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop()V TCPTransport.java:409
#6 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run()V TCPTransport.java:366
#7 java.lang.Thread.run()V Thread.java:835
#8 (Generated Stub) <null>
Thread T13 (tid=24875, running) created by thread T1 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 sun.rmi.transport.tcp.TCPTransport.listen()V TCPTransport.java:333
#4 sun.rmi.transport.tcp.TCPTransport.exportObject(Lsun/rmi/transport/Target;)V TCPTransport.java:243
#5 sun.rmi.transport.tcp.TCPEndpoint.exportObject(Lsun/rmi/transport/Target;)V TCPEndpoint.java:411
#6 sun.rmi.transport.LiveRef.exportObject(Lsun/rmi/transport/Target;)V LiveRef.java:147
#7 sun.rmi.server.UnicastServerRef.exportObject(Ljava/rmi/Remote;Ljava/lang/Object;Z)Ljava/rmi/Remote; UnicastServerRef.java:233
#8 sun.management.jmxremote.ConnectorBootstrap$PermanentExporter.exportObject(Ljava/rmi/Remote;ILjava/rmi/server/RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocketFactory;Ljava/io/ObjectInputFilter;)Ljava/rmi/Remote; ConnectorBootstrap.java:203
#9 javax.management.remote.rmi.RMIJRMPServerImpl.export(Ljava/rmi/Remote;Ljava/io/ObjectInputFilter;)V RMIJRMPServerImpl.java:153
#10 javax.management.remote.rmi.RMIJRMPServerImpl.export()V RMIJRMPServerImpl.java:138
#11 javax.management.remote.rmi.RMIConnectorServer.start()V RMIConnectorServer.java:473
#12 sun.management.jmxremote.ConnectorBootstrap.exportMBeanServer(Ljavax/management/MBeanServer;IIZZLjava/lang/String;[Ljava/lang/String;[Ljava/lang/String;ZZLjava/lang/String;Ljava/lang/String;ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lsun/mana ConnectorBootstrap.java:816
#13 sun.management.jmxremote.ConnectorBootstrap.startRemoteConnectorServer(Ljava/lang/String;Ljava/util/Properties;)Ljavax/management/remote/JMXConnectorServer; ConnectorBootstrap.java:479
#14 jdk.internal.agent.Agent.startAgent(Ljava/util/Properties;)V Agent.java:447
#15 jdk.internal.agent.Agent.startAgent()V Agent.java:599
#16 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race TCPTransport.java:816 in sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 4 at 0x0000b7f82694 by thread T61 (mutexes: write M183803162701857888, write M183803162701906616, write M183803162701906232, write M457396840066623584, write M576460755213230376, write M576460755245892616, write M576460755212226088, write M576460755213271784, write M545217032836894688, write M576460755213243592, write M805581386409808952):
#0 java.util.concurrent.SynchronousQueue$TransferStack.transfer(Ljava/lang/Object;ZJ)Ljava/lang/Object; SynchronousQueue.java:354
#1 java.util.concurrent.SynchronousQueue.offer(Ljava/lang/Object;)Z SynchronousQueue.java:909
#2 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1347
#3 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#4 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#5 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#6 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendDeleteRecordTransactional(JJLorg/apache/activemq/artemis/core/journal/EncodingSupport;)V JournalImpl.java:1162
#7 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendDeleteRecordTransactional(JJ)V JournalBase.java:98
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendDeleteRecordTransactional(JJ)V JournalImpl.java:93
#9 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.deleteAddressBinding(JJ)V AbstractJournalStorageManager.java:1396
#10 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.removeAddressInfo(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/core/security/SecurityAuth;Z)V ActiveMQServerImpl.java:3312
#11 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;Z)V ActiveMQServerControlImpl.java:868
#12 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;)V ActiveMQServerControlImpl.java:856
#13 jdk.internal.reflect.GeneratedMethodAccessor30.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#14 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#15 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#16 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#17 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#18 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#19 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#20 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#21 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#22 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#23 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#24 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#25 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#26 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#27 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#28 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#29 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#30 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#31 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#32 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#33 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#34 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#35 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#36 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#37 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#38 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#39 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#40 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#41 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#42 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#43 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#44 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#45 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#46 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#47 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#48 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#49 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#50 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#51 java.lang.Thread.run()V Thread.java:835
#52 (Generated Stub) <null>
Previous write of size 4 at 0x0000b7f82694 by thread T177:
#0 java.util.concurrent.SynchronousQueue$TransferStack.snode(Ljava/util/concurrent/SynchronousQueue$TransferStack$SNode;Ljava/lang/Object;Ljava/util/concurrent/SynchronousQueue$TransferStack$SNode;I)Ljava/util/concurrent/SynchronousQueue$TransferStack$SNode; SynchronousQueue.java:318
#1 java.util.concurrent.SynchronousQueue$TransferStack.transfer(Ljava/lang/Object;ZJ)Ljava/lang/Object; SynchronousQueue.java:373
#2 java.util.concurrent.SynchronousQueue.offer(Ljava/lang/Object;)Z SynchronousQueue.java:909
#3 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1347
#4 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#6 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#7 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendDeleteRecordTransactional(JJLorg/apache/activemq/artemis/core/journal/EncodingSupport;)V JournalImpl.java:1162
#8 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendDeleteRecordTransactional(JJ)V JournalBase.java:98
#9 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendDeleteRecordTransactional(JJ)V JournalImpl.java:93
#10 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.deleteAddressBinding(JJ)V AbstractJournalStorageManager.java:1396
#11 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.removeAddressInfo(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/core/security/SecurityAuth;Z)V ActiveMQServerImpl.java:3312
#12 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;Z)V ActiveMQServerControlImpl.java:868
#13 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;)V ActiveMQServerControlImpl.java:856
#14 jdk.internal.reflect.GeneratedMethodAccessor30.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#15 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#16 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#17 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#18 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#19 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#20 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#21 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#22 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#23 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#24 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#25 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#26 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#27 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#28 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#29 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#30 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#31 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#32 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#33 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#34 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#35 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#36 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#37 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#38 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#39 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#40 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#41 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#42 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#43 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#44 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#45 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#46 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#47 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#48 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#49 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#50 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#51 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#52 java.lang.Thread.run()V Thread.java:835
#53 (Generated Stub) <null>
Mutex M183803162701857888 is already destroyed.
Mutex M183803162701906616 is already destroyed.
Mutex M183803162701906232 is already destroyed.
Mutex M457396840066623584 is already destroyed.
Mutex M576460755213230376 is already destroyed.
Mutex M576460755245892616 is already destroyed.
Mutex M576460755212226088 is already destroyed.
Mutex M576460755213271784 is already destroyed.
Mutex M545217032836894688 is already destroyed.
Mutex M576460755213243592 is already destroyed.
Mutex M805581386409808952 is already destroyed.
Thread T61 (tid=26712, running) created by thread T13 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop()V TCPTransport.java:409
#6 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run()V TCPTransport.java:366
#7 java.lang.Thread.run()V Thread.java:835
#8 (Generated Stub) <null>
Thread T177 (tid=31732, running) created by thread T13 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop()V TCPTransport.java:409
#6 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run()V TCPTransport.java:366
#7 java.lang.Thread.run()V Thread.java:835
#8 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race SynchronousQueue.java:354 in java.util.concurrent.SynchronousQueue$TransferStack.transfer(Ljava/lang/Object;ZJ)Ljava/lang/Object;
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 4 at 0x0000bf81b518 by thread T43:
#0 java.util.concurrent.LinkedBlockingQueue.dequeue()Ljava/lang/Object; LinkedBlockingQueue.java:214
#1 java.util.concurrent.LinkedBlockingQueue.poll(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; LinkedBlockingQueue.java:460
#2 org.apache.activemq.artemis.utils.ActiveMQThreadPoolExecutor$ThreadPoolQueue.poll(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Runnable; ActiveMQThreadPoolExecutor.java:112
#3 org.apache.activemq.artemis.utils.ActiveMQThreadPoolExecutor$ThreadPoolQueue.poll(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; ActiveMQThreadPoolExecutor.java:45
#4 java.util.concurrent.ThreadPoolExecutor.getTask()Ljava/lang/Runnable; ThreadPoolExecutor.java:1053
#5 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1114
#6 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#7 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#8 (Generated Stub) <null>
Previous write of size 4 at 0x0000bf81b518 by thread T36:
#0 java.util.concurrent.LinkedBlockingQueue.enqueue(Ljava/util/concurrent/LinkedBlockingQueue$Node;)V LinkedBlockingQueue.java:202
#1 java.util.concurrent.LinkedBlockingQueue.offer(Ljava/lang/Object;)Z LinkedBlockingQueue.java:413
#2 org.apache.activemq.artemis.utils.ActiveMQThreadPoolExecutor$ThreadPoolQueue.offer(Ljava/lang/Runnable;)Z ActiveMQThreadPoolExecutor.java:70
#3 org.apache.activemq.artemis.utils.ActiveMQThreadPoolExecutor$ThreadPoolQueue.offer(Ljava/lang/Object;)Z ActiveMQThreadPoolExecutor.java:45
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1347
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.server.ActiveMQScheduledComponent$3.run()V ActiveMQScheduledComponent.java:314
#9 java.util.concurrent.Executors$RunnableAdapter.call()Ljava/lang/Object; Executors.java:515
#10 java.util.concurrent.FutureTask.runAndReset()Z FutureTask.java:305
#11 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run()V ScheduledThreadPoolExecutor.java:305
#12 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#13 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#14 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#15 (Generated Stub) <null>
Thread T43 (tid=25044, running) created by thread T35 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.server.ActiveMQScheduledComponent$3.run()V ActiveMQScheduledComponent.java:314
#9 java.util.concurrent.Executors$RunnableAdapter.call()Ljava/lang/Object; Executors.java:515
#10 java.util.concurrent.FutureTask.runAndReset()Z FutureTask.java:305
#11 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run()V ScheduledThreadPoolExecutor.java:305
#12 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#13 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#14 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#15 (Generated Stub) <null>
Thread T36 (tid=25031, running) created by thread T33 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.ensurePrestart()V ThreadPoolExecutor.java:1583
#5 java.util.concurrent.ScheduledThreadPoolExecutor.reExecutePeriodic(Ljava/util/concurrent/RunnableScheduledFuture;)V ScheduledThreadPoolExecutor.java:360
#6 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run()V ScheduledThreadPoolExecutor.java:307
#7 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#8 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#9 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#10 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race LinkedBlockingQueue.java:214 in java.util.concurrent.LinkedBlockingQueue.dequeue()Ljava/lang/Object;
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 4 at 0x0000bf83313c by thread T43:
#0 java.util.concurrent.LinkedBlockingQueue.dequeue()Ljava/lang/Object; LinkedBlockingQueue.java:217
#1 java.util.concurrent.LinkedBlockingQueue.poll(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; LinkedBlockingQueue.java:460
#2 org.apache.activemq.artemis.utils.ActiveMQThreadPoolExecutor$ThreadPoolQueue.poll(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Runnable; ActiveMQThreadPoolExecutor.java:112
#3 org.apache.activemq.artemis.utils.ActiveMQThreadPoolExecutor$ThreadPoolQueue.poll(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; ActiveMQThreadPoolExecutor.java:45
#4 java.util.concurrent.ThreadPoolExecutor.getTask()Ljava/lang/Runnable; ThreadPoolExecutor.java:1053
#5 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1114
#6 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#7 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#8 (Generated Stub) <null>
Previous write of size 4 at 0x0000bf83313c by thread T36:
#0 java.util.concurrent.LinkedBlockingQueue$Node.<init>(Ljava/lang/Object;)V LinkedBlockingQueue.java:134
#1 java.util.concurrent.LinkedBlockingQueue.offer(Ljava/lang/Object;)Z LinkedBlockingQueue.java:407
#2 org.apache.activemq.artemis.utils.ActiveMQThreadPoolExecutor$ThreadPoolQueue.offer(Ljava/lang/Runnable;)Z ActiveMQThreadPoolExecutor.java:70
#3 org.apache.activemq.artemis.utils.ActiveMQThreadPoolExecutor$ThreadPoolQueue.offer(Ljava/lang/Object;)Z ActiveMQThreadPoolExecutor.java:45
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1347
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.server.ActiveMQScheduledComponent$3.run()V ActiveMQScheduledComponent.java:314
#9 java.util.concurrent.Executors$RunnableAdapter.call()Ljava/lang/Object; Executors.java:515
#10 java.util.concurrent.FutureTask.runAndReset()Z FutureTask.java:305
#11 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run()V ScheduledThreadPoolExecutor.java:305
#12 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#13 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#14 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#15 (Generated Stub) <null>
Thread T43 (tid=25044, running) created by thread T35 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.server.ActiveMQScheduledComponent$3.run()V ActiveMQScheduledComponent.java:314
#9 java.util.concurrent.Executors$RunnableAdapter.call()Ljava/lang/Object; Executors.java:515
#10 java.util.concurrent.FutureTask.runAndReset()Z FutureTask.java:305
#11 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run()V ScheduledThreadPoolExecutor.java:305
#12 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#13 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#14 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#15 (Generated Stub) <null>
Thread T36 (tid=25031, running) created by thread T33 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.ensurePrestart()V ThreadPoolExecutor.java:1583
#5 java.util.concurrent.ScheduledThreadPoolExecutor.reExecutePeriodic(Ljava/util/concurrent/RunnableScheduledFuture;)V ScheduledThreadPoolExecutor.java:360
#6 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run()V ScheduledThreadPoolExecutor.java:307
#7 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#8 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#9 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#10 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race LinkedBlockingQueue.java:217 in java.util.concurrent.LinkedBlockingQueue.dequeue()Ljava/lang/Object;
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 4 at 0x0000c8b0da20 by thread T277:
#0 java.util.concurrent.LinkedBlockingQueue.dequeue()Ljava/lang/Object; LinkedBlockingQueue.java:214
#1 java.util.concurrent.LinkedBlockingQueue.poll(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; LinkedBlockingQueue.java:460
#2 org.apache.activemq.artemis.utils.ActiveMQThreadPoolExecutor$ThreadPoolQueue.poll(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Runnable; ActiveMQThreadPoolExecutor.java:112
#3 org.apache.activemq.artemis.utils.ActiveMQThreadPoolExecutor$ThreadPoolQueue.poll(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; ActiveMQThreadPoolExecutor.java:45
#4 java.util.concurrent.ThreadPoolExecutor.getTask()Ljava/lang/Runnable; ThreadPoolExecutor.java:1053
#5 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1114
#6 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#7 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#8 (Generated Stub) <null>
Previous write of size 4 at 0x0000c8b0da20 by thread T43:
#0 java.util.concurrent.LinkedBlockingQueue.enqueue(Ljava/util/concurrent/LinkedBlockingQueue$Node;)V LinkedBlockingQueue.java:202
#1 java.util.concurrent.LinkedBlockingQueue.offer(Ljava/lang/Object;)Z LinkedBlockingQueue.java:413
#2 org.apache.activemq.artemis.utils.ActiveMQThreadPoolExecutor$ThreadPoolQueue.offer(Ljava/lang/Runnable;)Z ActiveMQThreadPoolExecutor.java:70
#3 org.apache.activemq.artemis.utils.ActiveMQThreadPoolExecutor$ThreadPoolQueue.offer(Ljava/lang/Object;)Z ActiveMQThreadPoolExecutor.java:45
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1347
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.server.impl.QueueImpl.expireReferences()V QueueImpl.java:2204
#9 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl$ExpiryReaper.run()V PostOfficeImpl.java:1723
#10 org.apache.activemq.artemis.core.server.ActiveMQScheduledComponent$2.run()V ActiveMQScheduledComponent.java:306
#11 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#12 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#13 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#14 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#15 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#16 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#17 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#18 (Generated Stub) <null>
Thread T277 (tid=6320, running) created by thread T56 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.server.impl.QueueImpl.expireReferences()V QueueImpl.java:2204
#9 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl$ExpiryReaper.run()V PostOfficeImpl.java:1723
#10 org.apache.activemq.artemis.core.server.ActiveMQScheduledComponent$2.run()V ActiveMQScheduledComponent.java:306
#11 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#12 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#13 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#14 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#15 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#16 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#17 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#18 (Generated Stub) <null>
Thread T43 (tid=25044, running) created by thread T35 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.server.ActiveMQScheduledComponent$3.run()V ActiveMQScheduledComponent.java:314
#9 java.util.concurrent.Executors$RunnableAdapter.call()Ljava/lang/Object; Executors.java:515
#10 java.util.concurrent.FutureTask.runAndReset()Z FutureTask.java:305
#11 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run()V ScheduledThreadPoolExecutor.java:305
#12 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#13 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#14 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#15 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race LinkedBlockingQueue.java:214 in java.util.concurrent.LinkedBlockingQueue.dequeue()Ljava/lang/Object;
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 4 at 0x0000c8b19abc by thread T277:
#0 java.util.concurrent.LinkedBlockingQueue.dequeue()Ljava/lang/Object; LinkedBlockingQueue.java:217
#1 java.util.concurrent.LinkedBlockingQueue.poll(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; LinkedBlockingQueue.java:460
#2 org.apache.activemq.artemis.utils.ActiveMQThreadPoolExecutor$ThreadPoolQueue.poll(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Runnable; ActiveMQThreadPoolExecutor.java:112
#3 org.apache.activemq.artemis.utils.ActiveMQThreadPoolExecutor$ThreadPoolQueue.poll(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; ActiveMQThreadPoolExecutor.java:45
#4 java.util.concurrent.ThreadPoolExecutor.getTask()Ljava/lang/Runnable; ThreadPoolExecutor.java:1053
#5 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1114
#6 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#7 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#8 (Generated Stub) <null>
Previous write of size 4 at 0x0000c8b19abc by thread T43:
#0 java.util.concurrent.LinkedBlockingQueue$Node.<init>(Ljava/lang/Object;)V LinkedBlockingQueue.java:134
#1 java.util.concurrent.LinkedBlockingQueue.offer(Ljava/lang/Object;)Z LinkedBlockingQueue.java:407
#2 org.apache.activemq.artemis.utils.ActiveMQThreadPoolExecutor$ThreadPoolQueue.offer(Ljava/lang/Runnable;)Z ActiveMQThreadPoolExecutor.java:70
#3 org.apache.activemq.artemis.utils.ActiveMQThreadPoolExecutor$ThreadPoolQueue.offer(Ljava/lang/Object;)Z ActiveMQThreadPoolExecutor.java:45
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1347
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.server.impl.QueueImpl.expireReferences()V QueueImpl.java:2204
#9 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl$ExpiryReaper.run()V PostOfficeImpl.java:1723
#10 org.apache.activemq.artemis.core.server.ActiveMQScheduledComponent$2.run()V ActiveMQScheduledComponent.java:306
#11 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#12 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#13 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#14 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#15 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#16 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#17 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#18 (Generated Stub) <null>
Thread T277 (tid=6320, running) created by thread T56 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.server.impl.QueueImpl.expireReferences()V QueueImpl.java:2204
#9 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl$ExpiryReaper.run()V PostOfficeImpl.java:1723
#10 org.apache.activemq.artemis.core.server.ActiveMQScheduledComponent$2.run()V ActiveMQScheduledComponent.java:306
#11 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#12 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#13 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#14 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#15 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#16 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#17 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#18 (Generated Stub) <null>
Thread T43 (tid=25044, running) created by thread T35 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.server.ActiveMQScheduledComponent$3.run()V ActiveMQScheduledComponent.java:314
#9 java.util.concurrent.Executors$RunnableAdapter.call()Ljava/lang/Object; Executors.java:515
#10 java.util.concurrent.FutureTask.runAndReset()Z FutureTask.java:305
#11 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run()V ScheduledThreadPoolExecutor.java:305
#12 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#13 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#14 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#15 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race LinkedBlockingQueue.java:217 in java.util.concurrent.LinkedBlockingQueue.dequeue()Ljava/lang/Object;
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 4 at 0x0000c642e774 by thread T115:
#0 java.util.concurrent.SynchronousQueue$TransferStack.transfer(Ljava/lang/Object;ZJ)Ljava/lang/Object; SynchronousQueue.java:354
#1 java.util.concurrent.SynchronousQueue.offer(Ljava/lang/Object;)Z SynchronousQueue.java:909
#2 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1347
#3 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#4 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#5 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#6 org.apache.activemq.artemis.core.journal.impl.JournalFilesRepository.pushOpen()V JournalFilesRepository.java:478
#7 org.apache.activemq.artemis.core.journal.impl.JournalFilesRepository.openFile()Lorg/apache/activemq/artemis/core/journal/impl/JournalFile; JournalFilesRepository.java:451
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.moveNextFile(Z)V JournalImpl.java:3127
#9 org.apache.activemq.artemis.core.journal.impl.JournalImpl.switchFileIfNecessary(I)Lorg/apache/activemq/artemis/core/journal/impl/JournalFile; JournalImpl.java:3064
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendRecord(Lorg/apache/activemq/artemis/core/journal/impl/dataformat/JournalInternalRecord;ZZLorg/apache/activemq/artemis/core/journal/impl/JournalTransaction;Lorg/apache/activemq/artemis/core/io JournalImpl.java:2794
#11 org.apache.activemq.artemis.core.journal.impl.JournalImpl.access$100(Lorg/apache/activemq/artemis/core/journal/impl/JournalImpl;Lorg/apache/activemq/artemis/core/journal/impl/dataformat/JournalInternalRecord;ZZLorg/apache/activemq/artemis/core/journal/imp JournalImpl.java:93
#12 org.apache.activemq.artemis.core.journal.impl.JournalImpl$4.run()V JournalImpl.java:1033
#13 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#14 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#15 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#16 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#17 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#18 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#19 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#20 (Generated Stub) <null>
Previous write of size 4 at 0x0000c642e774 by thread T120:
#0 java.util.concurrent.SynchronousQueue$TransferStack.snode(Ljava/util/concurrent/SynchronousQueue$TransferStack$SNode;Ljava/lang/Object;Ljava/util/concurrent/SynchronousQueue$TransferStack$SNode;I)Ljava/util/concurrent/SynchronousQueue$TransferStack$SNode; SynchronousQueue.java:318
#1 java.util.concurrent.SynchronousQueue$TransferStack.transfer(Ljava/lang/Object;ZJ)Ljava/lang/Object; SynchronousQueue.java:360
#2 java.util.concurrent.SynchronousQueue.poll(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; SynchronousQueue.java:937
#3 java.util.concurrent.ThreadPoolExecutor.getTask()Ljava/lang/Runnable; ThreadPoolExecutor.java:1053
#4 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1114
#5 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#6 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#7 (Generated Stub) <null>
Thread T115 (tid=703, running) created by thread T114 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z SimpleAddressManager.java:276
#13 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.internalAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Z)Z PostOfficeImpl.java:455
#14 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z PostOfficeImpl.java:442
#15 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z ActiveMQServerImpl.java:3274
#16 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createAddress(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ActiveMQServerControlImpl.java:815
#17 jdk.internal.reflect.GeneratedMethodAccessor24.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#18 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#19 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#20 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#21 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#22 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#23 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#24 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#25 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#26 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#27 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#28 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#29 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#30 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#31 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#32 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#33 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#34 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#35 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#36 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#37 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#38 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#39 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#40 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#41 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#42 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#43 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#44 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#45 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#46 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#48 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#49 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#50 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#51 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#52 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#53 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#54 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#55 java.lang.Thread.run()V Thread.java:835
#56 (Generated Stub) <null>
Thread T120 (tid=29779, running) created by thread T64 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.removeAddressInfo(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/core/security/SecurityAuth;Z)V ActiveMQServerImpl.java:3313
#13 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;Z)V ActiveMQServerControlImpl.java:868
#14 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;)V ActiveMQServerControlImpl.java:856
#15 jdk.internal.reflect.GeneratedMethodAccessor30.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#16 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#17 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#18 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#19 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#20 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#21 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#22 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#23 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#24 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#25 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#26 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#27 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#28 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#29 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#30 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#31 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#32 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#33 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#34 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#35 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#36 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#37 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#38 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#39 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#40 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#41 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#42 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#43 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#44 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#45 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#46 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#48 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#49 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#50 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#51 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#52 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#53 java.lang.Thread.run()V Thread.java:835
#54 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race SynchronousQueue.java:354 in java.util.concurrent.SynchronousQueue$TransferStack.transfer(Ljava/lang/Object;ZJ)Ljava/lang/Object;
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 4 at 0x0000c5ff18d4 by thread T120:
#0 java.util.concurrent.SynchronousQueue$TransferStack.transfer(Ljava/lang/Object;ZJ)Ljava/lang/Object; SynchronousQueue.java:368
#1 java.util.concurrent.SynchronousQueue.poll(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; SynchronousQueue.java:937
#2 java.util.concurrent.ThreadPoolExecutor.getTask()Ljava/lang/Runnable; ThreadPoolExecutor.java:1053
#3 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1114
#4 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#5 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#6 (Generated Stub) <null>
Previous write of size 4 at 0x0000c5ff18d4 by thread T115:
#0 java.util.concurrent.SynchronousQueue$TransferStack$SNode.<init>(Ljava/lang/Object;)V SynchronousQueue.java:247
#1 java.util.concurrent.SynchronousQueue$TransferStack.snode(Ljava/util/concurrent/SynchronousQueue$TransferStack$SNode;Ljava/lang/Object;Ljava/util/concurrent/SynchronousQueue$TransferStack$SNode;I)Ljava/util/concurrent/SynchronousQueue$TransferStack$SNode; SynchronousQueue.java:317
#2 java.util.concurrent.SynchronousQueue$TransferStack.transfer(Ljava/lang/Object;ZJ)Ljava/lang/Object; SynchronousQueue.java:373
#3 java.util.concurrent.SynchronousQueue.offer(Ljava/lang/Object;)Z SynchronousQueue.java:909
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1347
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalFilesRepository.pushOpen()V JournalFilesRepository.java:478
#9 org.apache.activemq.artemis.core.journal.impl.JournalFilesRepository.openFile()Lorg/apache/activemq/artemis/core/journal/impl/JournalFile; JournalFilesRepository.java:451
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.moveNextFile(Z)V JournalImpl.java:3127
#11 org.apache.activemq.artemis.core.journal.impl.JournalImpl.switchFileIfNecessary(I)Lorg/apache/activemq/artemis/core/journal/impl/JournalFile; JournalImpl.java:3064
#12 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendRecord(Lorg/apache/activemq/artemis/core/journal/impl/dataformat/JournalInternalRecord;ZZLorg/apache/activemq/artemis/core/journal/impl/JournalTransaction;Lorg/apache/activemq/artemis/core/io JournalImpl.java:2794
#13 org.apache.activemq.artemis.core.journal.impl.JournalImpl.access$100(Lorg/apache/activemq/artemis/core/journal/impl/JournalImpl;Lorg/apache/activemq/artemis/core/journal/impl/dataformat/JournalInternalRecord;ZZLorg/apache/activemq/artemis/core/journal/imp JournalImpl.java:93
#14 org.apache.activemq.artemis.core.journal.impl.JournalImpl$4.run()V JournalImpl.java:1033
#15 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#16 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#17 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#18 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#19 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#20 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#21 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#22 (Generated Stub) <null>
Thread T120 (tid=29779, running) created by thread T64 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.removeAddressInfo(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/core/security/SecurityAuth;Z)V ActiveMQServerImpl.java:3313
#13 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;Z)V ActiveMQServerControlImpl.java:868
#14 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;)V ActiveMQServerControlImpl.java:856
#15 jdk.internal.reflect.GeneratedMethodAccessor30.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#16 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#17 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#18 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#19 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#20 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#21 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#22 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#23 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#24 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#25 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#26 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#27 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#28 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#29 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#30 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#31 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#32 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#33 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#34 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#35 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#36 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#37 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#38 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#39 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#40 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#41 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#42 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#43 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#44 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#45 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#46 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#48 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#49 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#50 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#51 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#52 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#53 java.lang.Thread.run()V Thread.java:835
#54 (Generated Stub) <null>
Thread T115 (tid=703, running) created by thread T114 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z SimpleAddressManager.java:276
#13 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.internalAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Z)Z PostOfficeImpl.java:455
#14 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z PostOfficeImpl.java:442
#15 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z ActiveMQServerImpl.java:3274
#16 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createAddress(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ActiveMQServerControlImpl.java:815
#17 jdk.internal.reflect.GeneratedMethodAccessor24.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#18 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#19 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#20 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#21 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#22 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#23 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#24 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#25 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#26 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#27 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#28 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#29 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#30 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#31 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#32 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#33 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#34 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#35 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#36 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#37 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#38 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#39 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#40 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#41 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#42 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#43 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#44 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#45 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#46 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#48 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#49 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#50 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#51 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#52 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#53 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#54 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#55 java.lang.Thread.run()V Thread.java:835
#56 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race SynchronousQueue.java:368 in java.util.concurrent.SynchronousQueue$TransferStack.transfer(Ljava/lang/Object;ZJ)Ljava/lang/Object;
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 4 at 0x0000c5e918f4 by thread T135:
#0 java.util.concurrent.SynchronousQueue$TransferStack.transfer(Ljava/lang/Object;ZJ)Ljava/lang/Object; SynchronousQueue.java:368
#1 java.util.concurrent.SynchronousQueue.poll(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; SynchronousQueue.java:937
#2 java.util.concurrent.ThreadPoolExecutor.getTask()Ljava/lang/Runnable; ThreadPoolExecutor.java:1053
#3 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1114
#4 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#5 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#6 (Generated Stub) <null>
Previous write of size 4 at 0x0000c5e918f4 by thread T115:
#0 java.util.concurrent.SynchronousQueue$TransferStack$SNode.<init>(Ljava/lang/Object;)V SynchronousQueue.java:247
#1 java.util.concurrent.SynchronousQueue$TransferStack.snode(Ljava/util/concurrent/SynchronousQueue$TransferStack$SNode;Ljava/lang/Object;Ljava/util/concurrent/SynchronousQueue$TransferStack$SNode;I)Ljava/util/concurrent/SynchronousQueue$TransferStack$SNode; SynchronousQueue.java:317
#2 java.util.concurrent.SynchronousQueue$TransferStack.transfer(Ljava/lang/Object;ZJ)Ljava/lang/Object; SynchronousQueue.java:373
#3 java.util.concurrent.SynchronousQueue.offer(Ljava/lang/Object;)Z SynchronousQueue.java:909
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1347
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.scheduleReclaim()V JournalImpl.java:2839
#9 org.apache.activemq.artemis.core.journal.impl.JournalImpl.moveNextFile(Z)V JournalImpl.java:3130
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.switchFileIfNecessary(I)Lorg/apache/activemq/artemis/core/journal/impl/JournalFile; JournalImpl.java:3064
#11 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendRecord(Lorg/apache/activemq/artemis/core/journal/impl/dataformat/JournalInternalRecord;ZZLorg/apache/activemq/artemis/core/journal/impl/JournalTransaction;Lorg/apache/activemq/artemis/core/io JournalImpl.java:2794
#12 org.apache.activemq.artemis.core.journal.impl.JournalImpl.access$100(Lorg/apache/activemq/artemis/core/journal/impl/JournalImpl;Lorg/apache/activemq/artemis/core/journal/impl/dataformat/JournalInternalRecord;ZZLorg/apache/activemq/artemis/core/journal/imp JournalImpl.java:93
#13 org.apache.activemq.artemis.core.journal.impl.JournalImpl$4.run()V JournalImpl.java:1033
#14 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#15 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#16 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#17 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#18 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#19 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#20 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#21 (Generated Stub) <null>
Thread T135 (tid=27005, running) created by thread T106 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z SimpleAddressManager.java:276
#13 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.internalAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Z)Z PostOfficeImpl.java:455
#14 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z PostOfficeImpl.java:442
#15 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z ActiveMQServerImpl.java:3274
#16 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createAddress(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ActiveMQServerControlImpl.java:815
#17 (Generated Stub) <null>
#18 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#19 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#20 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#21 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#22 (Generated Stub) <null>
#23 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#24 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#25 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#26 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#27 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#28 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#29 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#30 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#31 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#32 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#33 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#34 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#35 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#36 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#37 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#38 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#39 (Generated Stub) <null>
#40 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#41 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#42 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#43 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#44 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#45 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#46 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#47 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#48 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#49 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#50 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#51 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#52 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#53 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#54 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#55 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#56 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#57 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#58 java.lang.Thread.run()V Thread.java:835
#59 (Generated Stub) <null>
Thread T115 (tid=703, running) created by thread T114 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z SimpleAddressManager.java:276
#13 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.internalAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Z)Z PostOfficeImpl.java:455
#14 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z PostOfficeImpl.java:442
#15 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z ActiveMQServerImpl.java:3274
#16 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createAddress(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ActiveMQServerControlImpl.java:815
#17 jdk.internal.reflect.GeneratedMethodAccessor24.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#18 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#19 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#20 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#21 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#22 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#23 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#24 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#25 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#26 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#27 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#28 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#29 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#30 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#31 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#32 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#33 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#34 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#35 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#36 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#37 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#38 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#39 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#40 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#41 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#42 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#43 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#44 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#45 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#46 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#48 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#49 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#50 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#51 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#52 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#53 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#54 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#55 java.lang.Thread.run()V Thread.java:835
#56 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race SynchronousQueue.java:368 in java.util.concurrent.SynchronousQueue$TransferStack.transfer(Ljava/lang/Object;ZJ)Ljava/lang/Object;
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 4 at 0x0000c787636c by thread T54:
#0 java.util.concurrent.SynchronousQueue$TransferStack.transfer(Ljava/lang/Object;ZJ)Ljava/lang/Object; SynchronousQueue.java:354
#1 java.util.concurrent.SynchronousQueue.offer(Ljava/lang/Object;)Z SynchronousQueue.java:909
#2 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1347
#3 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#4 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#5 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#6 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#7 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#9 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#10 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.removeAddressInfo(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/core/security/SecurityAuth;Z)V ActiveMQServerImpl.java:3313
#11 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;Z)V ActiveMQServerControlImpl.java:868
#12 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;)V ActiveMQServerControlImpl.java:856
#13 jdk.internal.reflect.GeneratedMethodAccessor30.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#14 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#15 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#16 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#17 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#18 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#19 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#20 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#21 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#22 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#23 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#24 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#25 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#26 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#27 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#28 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#29 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#30 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#31 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#32 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#33 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#34 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#35 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#36 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#37 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#38 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#39 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#40 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#41 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#42 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#43 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#44 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#45 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#46 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#47 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#48 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#49 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#50 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#51 java.lang.Thread.run()V Thread.java:835
#52 (Generated Stub) <null>
Previous write of size 4 at 0x0000c787636c by thread T177:
#0 java.util.concurrent.SynchronousQueue$TransferStack.snode(Ljava/util/concurrent/SynchronousQueue$TransferStack$SNode;Ljava/lang/Object;Ljava/util/concurrent/SynchronousQueue$TransferStack$SNode;I)Ljava/util/concurrent/SynchronousQueue$TransferStack$SNode; SynchronousQueue.java:318
#1 java.util.concurrent.SynchronousQueue$TransferStack.transfer(Ljava/lang/Object;ZJ)Ljava/lang/Object; SynchronousQueue.java:373
#2 java.util.concurrent.SynchronousQueue.offer(Ljava/lang/Object;)Z SynchronousQueue.java:909
#3 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1347
#4 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#6 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#7 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendDeleteRecordTransactional(JJLorg/apache/activemq/artemis/core/journal/EncodingSupport;)V JournalImpl.java:1162
#8 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendDeleteRecordTransactional(JJ)V JournalBase.java:98
#9 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendDeleteRecordTransactional(JJ)V JournalImpl.java:93
#10 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.deleteAddressBinding(JJ)V AbstractJournalStorageManager.java:1396
#11 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.removeAddressInfo(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/core/security/SecurityAuth;Z)V ActiveMQServerImpl.java:3312
#12 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;Z)V ActiveMQServerControlImpl.java:868
#13 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;)V ActiveMQServerControlImpl.java:856
#14 jdk.internal.reflect.GeneratedMethodAccessor30.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#15 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#16 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#17 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#18 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#19 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#20 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#21 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#22 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#23 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#24 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#25 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#26 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#27 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#28 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#29 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#30 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#31 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#32 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#33 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#34 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#35 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#36 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#37 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#38 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#39 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#40 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#41 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#42 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#43 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#44 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#45 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#46 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#47 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#48 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#49 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#50 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#51 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#52 java.lang.Thread.run()V Thread.java:835
#53 (Generated Stub) <null>
Thread T54 (tid=6143, running) created by thread T13 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop()V TCPTransport.java:409
#6 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run()V TCPTransport.java:366
#7 java.lang.Thread.run()V Thread.java:835
#8 (Generated Stub) <null>
Thread T177 (tid=31732, running) created by thread T13 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop()V TCPTransport.java:409
#6 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run()V TCPTransport.java:366
#7 java.lang.Thread.run()V Thread.java:835
#8 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race SynchronousQueue.java:354 in java.util.concurrent.SynchronousQueue$TransferStack.transfer(Ljava/lang/Object;ZJ)Ljava/lang/Object;
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 4 at 0x0000d35c8be4 by thread T83:
#0 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.finishPoll(Ljava/util/concurrent/RunnableScheduledFuture;)Ljava/util/concurrent/RunnableScheduledFuture; ScheduledThreadPoolExecutor.java:1142
#1 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take()Ljava/util/concurrent/RunnableScheduledFuture; ScheduledThreadPoolExecutor.java:1174
#2 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take()Ljava/lang/Object; ScheduledThreadPoolExecutor.java:899
#3 java.util.concurrent.ThreadPoolExecutor.getTask()Ljava/lang/Runnable; ThreadPoolExecutor.java:1054
#4 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1114
#5 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#6 java.lang.Thread.run()V Thread.java:835
#7 (Generated Stub) <null>
Previous write of size 4 at 0x0000d35c8be4 by thread T173 (mutexes: write M977562597425858344, write M977562597422812536, write M977562597426024552, write M977562597422732176, write M724798068340911424, write M719168568806697040, write M977562597176388848, write M977562597279583656, write M977562597277280520, write M977562597280443424, write M977562597277116304, write M977562597426038016, write M977562597422959256, write M977562597422763344, write M594475154410839800):
#0 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.siftUp(ILjava/util/concurrent/RunnableScheduledFuture;)V ScheduledThreadPoolExecutor.java:977
#1 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.offer(Ljava/lang/Runnable;)Z ScheduledThreadPoolExecutor.java:1110
#2 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.add(Ljava/lang/Runnable;)Z ScheduledThreadPoolExecutor.java:1127
#3 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.add(Ljava/lang/Object;)Z ScheduledThreadPoolExecutor.java:899
#4 java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(Ljava/util/concurrent/RunnableScheduledFuture;)V ScheduledThreadPoolExecutor.java:342
#5 java.util.concurrent.ScheduledThreadPoolExecutor.schedule(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture; ScheduledThreadPoolExecutor.java:562
#6 sun.rmi.transport.DGCAckHandler.startTimer()V DGCAckHandler.java:119
#7 sun.rmi.transport.ConnectionOutputStream.done()V ConnectionOutputStream.java:106
#8 sun.rmi.transport.StreamRemoteCall.releaseOutputStream()V StreamRemoteCall.java:117
#9 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:407
#10 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#11 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#12 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#13 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#14 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#15 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#16 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#17 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#18 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#19 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#20 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#21 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#22 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#23 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#24 java.lang.Thread.run()V Thread.java:835
#25 (Generated Stub) <null>
Mutex M977562597425858344 is already destroyed.
Mutex M977562597422812536 is already destroyed.
Mutex M977562597426024552 is already destroyed.
Mutex M977562597422732176 is already destroyed.
Mutex M724798068340911424 is already destroyed.
Mutex M719168568806697040 is already destroyed.
Mutex M977562597176388848 is already destroyed.
Mutex M977562597279583656 is already destroyed.
Mutex M977562597277280520 is already destroyed.
Mutex M977562597280443424 is already destroyed.
Mutex M977562597277116304 is already destroyed.
Mutex M977562597426038016 is already destroyed.
Mutex M977562597422959256 is already destroyed.
Mutex M977562597422763344 is already destroyed.
Mutex M594475154410839800 is already destroyed.
Thread T83 (tid=26785, running) created by thread T73 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.ensurePrestart()V ThreadPoolExecutor.java:1583
#5 java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(Ljava/util/concurrent/RunnableScheduledFuture;)V ScheduledThreadPoolExecutor.java:346
#6 java.util.concurrent.ScheduledThreadPoolExecutor.schedule(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture; ScheduledThreadPoolExecutor.java:562
#7 sun.rmi.transport.DGCAckHandler.startTimer()V DGCAckHandler.java:119
#8 sun.rmi.transport.ConnectionOutputStream.done()V ConnectionOutputStream.java:106
#9 sun.rmi.transport.StreamRemoteCall.releaseOutputStream()V StreamRemoteCall.java:117
#10 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:407
#11 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#12 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#13 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#14 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#15 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#16 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#17 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#18 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#19 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#20 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#21 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#22 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#23 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#24 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#25 java.lang.Thread.run()V Thread.java:835
#26 (Generated Stub) <null>
Thread T173 (tid=30313, running) created by thread T13 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop()V TCPTransport.java:409
#6 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run()V TCPTransport.java:366
#7 java.lang.Thread.run()V Thread.java:835
#8 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race ScheduledThreadPoolExecutor.java:1142 in java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.finishPoll(Ljava/util/concurrent/RunnableScheduledFuture;)Ljava/util/concurrent/RunnableScheduledFuture;
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Write of size 4 at 0x0000d6741fc8 by thread T83:
#0 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.setIndex(Ljava/util/concurrent/RunnableScheduledFuture;I)V ScheduledThreadPoolExecutor.java:960
#1 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.siftDown(ILjava/util/concurrent/RunnableScheduledFuture;)V ScheduledThreadPoolExecutor.java:1000
#2 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.finishPoll(Ljava/util/concurrent/RunnableScheduledFuture;)Ljava/util/concurrent/RunnableScheduledFuture; ScheduledThreadPoolExecutor.java:1145
#3 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take()Ljava/util/concurrent/RunnableScheduledFuture; ScheduledThreadPoolExecutor.java:1174
#4 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take()Ljava/lang/Object; ScheduledThreadPoolExecutor.java:899
#5 java.util.concurrent.ThreadPoolExecutor.getTask()Ljava/lang/Runnable; ThreadPoolExecutor.java:1054
#6 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1114
#7 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#8 java.lang.Thread.run()V Thread.java:835
#9 (Generated Stub) <null>
Previous write of size 4 at 0x0000d6741fc8 by thread T173 (mutexes: write M977562597425858344, write M977562597422812536, write M977562597426024552, write M977562597422732176, write M724798068340911424, write M719168568806697040, write M977562597176388848, write M977562597279583656, write M977562597277280520, write M977562597280443424, write M977562597277116304, write M977562597426038016, write M977562597422959256, write M977562597422763344, write M594475154410839800):
#0 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.setIndex(Ljava/util/concurrent/RunnableScheduledFuture;I)V ScheduledThreadPoolExecutor.java:960
#1 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.siftUp(ILjava/util/concurrent/RunnableScheduledFuture;)V ScheduledThreadPoolExecutor.java:978
#2 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.offer(Ljava/lang/Runnable;)Z ScheduledThreadPoolExecutor.java:1110
#3 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.add(Ljava/lang/Runnable;)Z ScheduledThreadPoolExecutor.java:1127
#4 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.add(Ljava/lang/Object;)Z ScheduledThreadPoolExecutor.java:899
#5 java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(Ljava/util/concurrent/RunnableScheduledFuture;)V ScheduledThreadPoolExecutor.java:342
#6 java.util.concurrent.ScheduledThreadPoolExecutor.schedule(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture; ScheduledThreadPoolExecutor.java:562
#7 sun.rmi.transport.DGCAckHandler.startTimer()V DGCAckHandler.java:119
#8 sun.rmi.transport.ConnectionOutputStream.done()V ConnectionOutputStream.java:106
#9 sun.rmi.transport.StreamRemoteCall.releaseOutputStream()V StreamRemoteCall.java:117
#10 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:407
#11 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#12 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#13 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#14 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#15 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#16 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#17 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#18 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#19 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#20 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#21 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#22 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#23 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#24 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#25 java.lang.Thread.run()V Thread.java:835
#26 (Generated Stub) <null>
Mutex M977562597425858344 is already destroyed.
Mutex M977562597422812536 is already destroyed.
Mutex M977562597426024552 is already destroyed.
Mutex M977562597422732176 is already destroyed.
Mutex M724798068340911424 is already destroyed.
Mutex M719168568806697040 is already destroyed.
Mutex M977562597176388848 is already destroyed.
Mutex M977562597279583656 is already destroyed.
Mutex M977562597277280520 is already destroyed.
Mutex M977562597280443424 is already destroyed.
Mutex M977562597277116304 is already destroyed.
Mutex M977562597426038016 is already destroyed.
Mutex M977562597422959256 is already destroyed.
Mutex M977562597422763344 is already destroyed.
Mutex M594475154410839800 is already destroyed.
Thread T83 (tid=26785, running) created by thread T73 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.ensurePrestart()V ThreadPoolExecutor.java:1583
#5 java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(Ljava/util/concurrent/RunnableScheduledFuture;)V ScheduledThreadPoolExecutor.java:346
#6 java.util.concurrent.ScheduledThreadPoolExecutor.schedule(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture; ScheduledThreadPoolExecutor.java:562
#7 sun.rmi.transport.DGCAckHandler.startTimer()V DGCAckHandler.java:119
#8 sun.rmi.transport.ConnectionOutputStream.done()V ConnectionOutputStream.java:106
#9 sun.rmi.transport.StreamRemoteCall.releaseOutputStream()V StreamRemoteCall.java:117
#10 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:407
#11 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#12 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#13 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#14 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#15 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#16 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#17 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#18 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#19 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#20 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#21 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#22 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#23 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#24 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#25 java.lang.Thread.run()V Thread.java:835
#26 (Generated Stub) <null>
Thread T173 (tid=30313, running) created by thread T13 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop()V TCPTransport.java:409
#6 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run()V TCPTransport.java:366
#7 java.lang.Thread.run()V Thread.java:835
#8 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race ScheduledThreadPoolExecutor.java:960 in java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.setIndex(Ljava/util/concurrent/RunnableScheduledFuture;I)V
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Write of size 4 at 0x0000d35c8c68 by thread T264 (mutexes: write M935341350775112568, write M116249168971328280):
#0 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.siftUp(ILjava/util/concurrent/RunnableScheduledFuture;)V ScheduledThreadPoolExecutor.java:977
#1 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.offer(Ljava/lang/Runnable;)Z ScheduledThreadPoolExecutor.java:1110
#2 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.add(Ljava/lang/Runnable;)Z ScheduledThreadPoolExecutor.java:1127
#3 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.add(Ljava/lang/Object;)Z ScheduledThreadPoolExecutor.java:899
#4 java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(Ljava/util/concurrent/RunnableScheduledFuture;)V ScheduledThreadPoolExecutor.java:342
#5 java.util.concurrent.ScheduledThreadPoolExecutor.schedule(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture; ScheduledThreadPoolExecutor.java:562
#6 sun.rmi.transport.DGCAckHandler.startTimer()V DGCAckHandler.java:119
#7 sun.rmi.transport.ConnectionOutputStream.done()V ConnectionOutputStream.java:106
#8 sun.rmi.transport.StreamRemoteCall.releaseOutputStream()V StreamRemoteCall.java:117
#9 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:407
#10 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#11 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#12 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#13 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#14 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#15 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#16 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#17 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#18 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#19 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#20 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#21 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#22 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#23 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#24 java.lang.Thread.run()V Thread.java:835
#25 (Generated Stub) <null>
Previous write of size 4 at 0x0000d35c8c68 by thread T83:
#0 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.finishPoll(Ljava/util/concurrent/RunnableScheduledFuture;)Ljava/util/concurrent/RunnableScheduledFuture; ScheduledThreadPoolExecutor.java:1143
#1 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take()Ljava/util/concurrent/RunnableScheduledFuture; ScheduledThreadPoolExecutor.java:1174
#2 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take()Ljava/lang/Object; ScheduledThreadPoolExecutor.java:899
#3 java.util.concurrent.ThreadPoolExecutor.getTask()Ljava/lang/Runnable; ThreadPoolExecutor.java:1054
#4 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1114
#5 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#6 java.lang.Thread.run()V Thread.java:835
#7 (Generated Stub) <null>
Mutex M935341350775112568 is already destroyed.
Mutex M116249168971328280 is already destroyed.
Thread T264 (tid=6162, running) created by thread T13 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop()V TCPTransport.java:409
#6 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run()V TCPTransport.java:366
#7 java.lang.Thread.run()V Thread.java:835
#8 (Generated Stub) <null>
Thread T83 (tid=26785, running) created by thread T73 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.ensurePrestart()V ThreadPoolExecutor.java:1583
#5 java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(Ljava/util/concurrent/RunnableScheduledFuture;)V ScheduledThreadPoolExecutor.java:346
#6 java.util.concurrent.ScheduledThreadPoolExecutor.schedule(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture; ScheduledThreadPoolExecutor.java:562
#7 sun.rmi.transport.DGCAckHandler.startTimer()V DGCAckHandler.java:119
#8 sun.rmi.transport.ConnectionOutputStream.done()V ConnectionOutputStream.java:106
#9 sun.rmi.transport.StreamRemoteCall.releaseOutputStream()V StreamRemoteCall.java:117
#10 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:407
#11 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#12 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#13 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#14 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#15 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#16 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#17 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#18 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#19 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#20 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#21 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#22 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#23 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#24 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#25 java.lang.Thread.run()V Thread.java:835
#26 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race ScheduledThreadPoolExecutor.java:977 in java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.siftUp(ILjava/util/concurrent/RunnableScheduledFuture;)V
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 4 at 0x00008094c170 by thread T31:
#0 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.addConditionWaiter()Ljava/util/concurrent/locks/AbstractQueuedSynchronizer$Node; AbstractQueuedSynchronizer.java:1889
#1 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await()V AbstractQueuedSynchronizer.java:2077
#2 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take()Ljava/util/concurrent/RunnableScheduledFuture; ScheduledThreadPoolExecutor.java:1177
#3 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take()Ljava/lang/Object; ScheduledThreadPoolExecutor.java:899
#4 java.util.concurrent.ThreadPoolExecutor.getTask()Ljava/lang/Runnable; ThreadPoolExecutor.java:1054
#5 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1114
#6 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#7 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#8 (Generated Stub) <null>
Previous write of size 4 at 0x00008094c170 by thread T35:
#0 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.addConditionWaiter()Ljava/util/concurrent/locks/AbstractQueuedSynchronizer$Node; AbstractQueuedSynchronizer.java:1902
#1 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(J)J AbstractQueuedSynchronizer.java:2114
#2 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take()Ljava/util/concurrent/RunnableScheduledFuture; ScheduledThreadPoolExecutor.java:1182
#3 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take()Ljava/lang/Object; ScheduledThreadPoolExecutor.java:899
#4 java.util.concurrent.ThreadPoolExecutor.getTask()Ljava/lang/Runnable; ThreadPoolExecutor.java:1054
#5 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1114
#6 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#7 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#8 (Generated Stub) <null>
Thread T31 (tid=24962, running) created by thread T1 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.ensurePrestart()V ThreadPoolExecutor.java:1583
#5 java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(Ljava/util/concurrent/RunnableScheduledFuture;)V ScheduledThreadPoolExecutor.java:346
#6 java.util.concurrent.ScheduledThreadPoolExecutor.scheduleWithFixedDelay(Ljava/lang/Runnable;JJLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture; ScheduledThreadPoolExecutor.java:680
#7 org.apache.activemq.artemis.core.server.ActiveMQScheduledComponent.start()V ActiveMQScheduledComponent.java:171
#8 org.apache.activemq.artemis.core.server.reload.ReloadManagerImpl.addCallback(Ljava/net/URL;Lorg/apache/activemq/artemis/core/server/reload/ReloadCallback;)V ReloadManagerImpl.java:59
#9 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart1(Z)Z ActiveMQServerImpl.java:2859
#10 org.apache.activemq.artemis.core.server.impl.LiveOnlyActivation.run()V LiveOnlyActivation.java:68
#11 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.internalStart()V ActiveMQServerImpl.java:601
#12 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.start()V ActiveMQServerImpl.java:528
#13 org.apache.activemq.artemis.integration.FileBroker.start()V FileBroker.java:70
#14 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:84
#15 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#16 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#17 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#18 (Generated Stub) <null>
#19 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#20 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#21 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#22 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#23 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#24 (Generated Stub) <null>
Thread T35 (tid=25028, running) created by thread T31 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.ensurePrestart()V ThreadPoolExecutor.java:1583
#5 java.util.concurrent.ScheduledThreadPoolExecutor.reExecutePeriodic(Ljava/util/concurrent/RunnableScheduledFuture;)V ScheduledThreadPoolExecutor.java:360
#6 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run()V ScheduledThreadPoolExecutor.java:307
#7 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#8 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#9 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#10 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race AbstractQueuedSynchronizer.java:1889 in java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.addConditionWaiter()Ljava/util/concurrent/locks/AbstractQueuedSynchronizer$Node;
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 4 at 0x0000af0d7bd8 by thread T94:
#0 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.commit(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;)V JournalTransaction.java:268
#1 org.apache.activemq.artemis.core.journal.impl.JournalImpl$9.run()V JournalImpl.java:1326
#2 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#3 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#4 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#6 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#7 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#8 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#9 (Generated Stub) <null>
Previous write of size 4 at 0x0000af0d7bd8 by thread T115:
#0 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.addNegative(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;J)V JournalTransaction.java:223
#1 org.apache.activemq.artemis.core.journal.impl.JournalImpl$7.run()V JournalImpl.java:1185
#2 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#3 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#4 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#6 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#7 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#8 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#9 (Generated Stub) <null>
Thread T94 (tid=19827, running) created by thread T128 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.removeAddressInfo(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/core/security/SecurityAuth;Z)V ActiveMQServerImpl.java:3313
#13 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;Z)V ActiveMQServerControlImpl.java:868
#14 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;)V ActiveMQServerControlImpl.java:856
#15 jdk.internal.reflect.GeneratedMethodAccessor30.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#16 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#17 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#18 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#19 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#20 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#21 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#22 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#23 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#24 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#25 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#26 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#27 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#28 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#29 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#30 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#31 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#32 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#33 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#34 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#35 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#36 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#37 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#38 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#39 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#40 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#41 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#42 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#43 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#44 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#45 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#46 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#48 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#49 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#50 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#51 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#52 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#53 java.lang.Thread.run()V Thread.java:835
#54 (Generated Stub) <null>
Thread T115 (tid=703, running) created by thread T114 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z SimpleAddressManager.java:276
#13 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.internalAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Z)Z PostOfficeImpl.java:455
#14 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z PostOfficeImpl.java:442
#15 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z ActiveMQServerImpl.java:3274
#16 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createAddress(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ActiveMQServerControlImpl.java:815
#17 jdk.internal.reflect.GeneratedMethodAccessor24.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#18 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#19 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#20 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#21 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#22 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#23 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#24 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#25 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#26 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#27 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#28 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#29 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#30 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#31 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#32 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#33 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#34 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#35 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#36 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#37 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#38 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#39 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#40 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#41 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#42 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#43 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#44 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#45 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#46 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#48 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#49 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#50 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#51 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#52 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#53 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#54 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#55 java.lang.Thread.run()V Thread.java:835
#56 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race JournalTransaction.java:268 in org.apache.activemq.artemis.core.journal.impl.JournalTransaction.commit(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;)V
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 4 at 0x0000af0d7dec by thread T94:
#0 java.util.ArrayList$Itr.<init>(Ljava/util/ArrayList;)V ArrayList.java:985
#1 java.util.ArrayList.iterator()Ljava/util/Iterator; ArrayList.java:976
#2 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.commit(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;)V JournalTransaction.java:269
#3 org.apache.activemq.artemis.core.journal.impl.JournalImpl$9.run()V JournalImpl.java:1326
#4 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#5 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#7 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#8 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#9 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#10 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#11 (Generated Stub) <null>
Previous write of size 4 at 0x0000af0d7dec by thread T115:
#0 java.util.AbstractList.<init>()V AbstractList.java:628
#1 java.util.ArrayList.<init>()V ArrayList.java:166
#2 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.addNegative(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;J)V JournalTransaction.java:223
#3 org.apache.activemq.artemis.core.journal.impl.JournalImpl$7.run()V JournalImpl.java:1185
#4 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#5 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#7 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#8 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#9 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#10 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#11 (Generated Stub) <null>
Thread T94 (tid=19827, running) created by thread T128 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.removeAddressInfo(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/core/security/SecurityAuth;Z)V ActiveMQServerImpl.java:3313
#13 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;Z)V ActiveMQServerControlImpl.java:868
#14 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;)V ActiveMQServerControlImpl.java:856
#15 jdk.internal.reflect.GeneratedMethodAccessor30.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#16 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#17 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#18 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#19 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#20 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#21 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#22 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#23 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#24 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#25 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#26 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#27 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#28 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#29 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#30 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#31 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#32 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#33 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#34 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#35 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#36 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#37 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#38 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#39 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#40 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#41 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#42 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#43 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#44 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#45 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#46 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#48 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#49 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#50 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#51 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#52 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#53 java.lang.Thread.run()V Thread.java:835
#54 (Generated Stub) <null>
Thread T115 (tid=703, running) created by thread T114 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z SimpleAddressManager.java:276
#13 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.internalAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Z)Z PostOfficeImpl.java:455
#14 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z PostOfficeImpl.java:442
#15 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z ActiveMQServerImpl.java:3274
#16 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createAddress(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ActiveMQServerControlImpl.java:815
#17 jdk.internal.reflect.GeneratedMethodAccessor24.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#18 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#19 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#20 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#21 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#22 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#23 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#24 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#25 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#26 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#27 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#28 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#29 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#30 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#31 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#32 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#33 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#34 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#35 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#36 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#37 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#38 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#39 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#40 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#41 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#42 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#43 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#44 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#45 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#46 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#48 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#49 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#50 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#51 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#52 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#53 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#54 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#55 java.lang.Thread.run()V Thread.java:835
#56 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race ArrayList.java:985 in java.util.ArrayList$Itr.<init>(Ljava/util/ArrayList;)V
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 4 at 0x0000af0d7df0 by thread T94:
#0 java.util.ArrayList$Itr.hasNext()Z ArrayList.java:991
#1 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.commit(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;)V JournalTransaction.java:269
#2 org.apache.activemq.artemis.core.journal.impl.JournalImpl$9.run()V JournalImpl.java:1326
#3 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#4 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#7 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#8 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#9 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#10 (Generated Stub) <null>
Previous write of size 4 at 0x0000af0d7df0 by thread T115:
#0 java.util.ArrayList.add(Ljava/lang/Object;[Ljava/lang/Object;I)V ArrayList.java:487
#1 java.util.ArrayList.add(Ljava/lang/Object;)Z ArrayList.java:498
#2 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.addNegative(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;J)V JournalTransaction.java:226
#3 org.apache.activemq.artemis.core.journal.impl.JournalImpl$7.run()V JournalImpl.java:1185
#4 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#5 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#7 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#8 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#9 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#10 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#11 (Generated Stub) <null>
Thread T94 (tid=19827, running) created by thread T128 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.removeAddressInfo(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/core/security/SecurityAuth;Z)V ActiveMQServerImpl.java:3313
#13 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;Z)V ActiveMQServerControlImpl.java:868
#14 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;)V ActiveMQServerControlImpl.java:856
#15 jdk.internal.reflect.GeneratedMethodAccessor30.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#16 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#17 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#18 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#19 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#20 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#21 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#22 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#23 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#24 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#25 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#26 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#27 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#28 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#29 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#30 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#31 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#32 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#33 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#34 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#35 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#36 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#37 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#38 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#39 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#40 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#41 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#42 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#43 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#44 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#45 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#46 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#48 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#49 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#50 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#51 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#52 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#53 java.lang.Thread.run()V Thread.java:835
#54 (Generated Stub) <null>
Thread T115 (tid=703, running) created by thread T114 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z SimpleAddressManager.java:276
#13 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.internalAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Z)Z PostOfficeImpl.java:455
#14 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z PostOfficeImpl.java:442
#15 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z ActiveMQServerImpl.java:3274
#16 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createAddress(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ActiveMQServerControlImpl.java:815
#17 jdk.internal.reflect.GeneratedMethodAccessor24.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#18 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#19 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#20 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#21 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#22 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#23 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#24 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#25 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#26 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#27 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#28 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#29 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#30 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#31 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#32 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#33 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#34 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#35 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#36 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#37 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#38 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#39 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#40 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#41 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#42 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#43 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#44 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#45 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#46 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#48 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#49 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#50 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#51 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#52 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#53 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#54 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#55 java.lang.Thread.run()V Thread.java:835
#56 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race ArrayList.java:991 in java.util.ArrayList$Itr.hasNext()Z
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 4 at 0x0000af0d7df4 by thread T94:
#0 java.util.ArrayList$Itr.next()Ljava/lang/Object; ArrayList.java:1000
#1 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.commit(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;)V JournalTransaction.java:269
#2 org.apache.activemq.artemis.core.journal.impl.JournalImpl$9.run()V JournalImpl.java:1326
#3 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#4 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#7 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#8 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#9 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#10 (Generated Stub) <null>
Previous write of size 4 at 0x0000af0d7df4 by thread T115:
#0 java.util.ArrayList.<init>()V ArrayList.java:167
#1 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.addNegative(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;J)V JournalTransaction.java:223
#2 org.apache.activemq.artemis.core.journal.impl.JournalImpl$7.run()V JournalImpl.java:1185
#3 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#4 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#7 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#8 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#9 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#10 (Generated Stub) <null>
Thread T94 (tid=19827, running) created by thread T128 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.removeAddressInfo(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/core/security/SecurityAuth;Z)V ActiveMQServerImpl.java:3313
#13 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;Z)V ActiveMQServerControlImpl.java:868
#14 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;)V ActiveMQServerControlImpl.java:856
#15 jdk.internal.reflect.GeneratedMethodAccessor30.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#16 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#17 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#18 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#19 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#20 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#21 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#22 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#23 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#24 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#25 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#26 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#27 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#28 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#29 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#30 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#31 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#32 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#33 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#34 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#35 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#36 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#37 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#38 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#39 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#40 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#41 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#42 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#43 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#44 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#45 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#46 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#48 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#49 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#50 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#51 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#52 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#53 java.lang.Thread.run()V Thread.java:835
#54 (Generated Stub) <null>
Thread T115 (tid=703, running) created by thread T114 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z SimpleAddressManager.java:276
#13 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.internalAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Z)Z PostOfficeImpl.java:455
#14 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z PostOfficeImpl.java:442
#15 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z ActiveMQServerImpl.java:3274
#16 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createAddress(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ActiveMQServerControlImpl.java:815
#17 jdk.internal.reflect.GeneratedMethodAccessor24.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#18 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#19 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#20 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#21 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#22 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#23 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#24 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#25 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#26 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#27 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#28 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#29 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#30 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#31 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#32 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#33 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#34 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#35 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#36 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#37 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#38 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#39 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#40 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#41 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#42 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#43 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#44 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#45 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#46 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#48 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#49 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#50 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#51 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#52 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#53 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#54 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#55 java.lang.Thread.run()V Thread.java:835
#56 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race ArrayList.java:1000 in java.util.ArrayList$Itr.next()Ljava/lang/Object;
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 4 at 0x0000af0d7e28 by thread T94:
#0 java.util.ArrayList$Itr.next()Ljava/lang/Object; ArrayList.java:1004
#1 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.commit(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;)V JournalTransaction.java:269
#2 org.apache.activemq.artemis.core.journal.impl.JournalImpl$9.run()V JournalImpl.java:1326
#3 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#4 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#7 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#8 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#9 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#10 (Generated Stub) <null>
Previous write of size 4 at 0x0000af0d7e28 by thread T115:
#0 java.util.ArrayList.add(Ljava/lang/Object;[Ljava/lang/Object;I)V ArrayList.java:486
#1 java.util.ArrayList.add(Ljava/lang/Object;)Z ArrayList.java:498
#2 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.addNegative(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;J)V JournalTransaction.java:226
#3 org.apache.activemq.artemis.core.journal.impl.JournalImpl$7.run()V JournalImpl.java:1185
#4 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#5 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#7 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#8 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#9 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#10 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#11 (Generated Stub) <null>
Thread T94 (tid=19827, running) created by thread T128 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.removeAddressInfo(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/core/security/SecurityAuth;Z)V ActiveMQServerImpl.java:3313
#13 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;Z)V ActiveMQServerControlImpl.java:868
#14 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.deleteAddress(Ljava/lang/String;)V ActiveMQServerControlImpl.java:856
#15 jdk.internal.reflect.GeneratedMethodAccessor30.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#16 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#17 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#18 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#19 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#20 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#21 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#22 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#23 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#24 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#25 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#26 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#27 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#28 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#29 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#30 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#31 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#32 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#33 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#34 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#35 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#36 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#37 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#38 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#39 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#40 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#41 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#42 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#43 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#44 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#45 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#46 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#48 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#49 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#50 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#51 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#52 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#53 java.lang.Thread.run()V Thread.java:835
#54 (Generated Stub) <null>
Thread T115 (tid=703, running) created by thread T114 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z SimpleAddressManager.java:276
#13 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.internalAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Z)Z PostOfficeImpl.java:455
#14 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z PostOfficeImpl.java:442
#15 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z ActiveMQServerImpl.java:3274
#16 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createAddress(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ActiveMQServerControlImpl.java:815
#17 jdk.internal.reflect.GeneratedMethodAccessor24.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#18 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#19 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#20 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#21 jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#22 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#23 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#24 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#25 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#26 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#27 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#28 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#29 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#30 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#31 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#32 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#33 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#34 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#35 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#36 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#37 jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#38 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#39 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#40 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#41 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#42 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#43 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#44 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#45 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#46 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#48 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#49 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#50 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#51 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#52 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#53 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#54 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#55 java.lang.Thread.run()V Thread.java:835
#56 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race ArrayList.java:1004 in java.util.ArrayList$Itr.next()Ljava/lang/Object;
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 4 at 0x0000803eddf4 by thread T82 (mutexes: write M781937487952834912, write M362539772672410864, write M278660229721264864, write M278660229798887928, write M278660229799906424, write M278660229853398152, write M278660229852320984, write M9109686):
#0 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.offer(Ljava/lang/Runnable;)Z ScheduledThreadPoolExecutor.java:1102
#1 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.add(Ljava/lang/Runnable;)Z ScheduledThreadPoolExecutor.java:1127
#2 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.add(Ljava/lang/Object;)Z ScheduledThreadPoolExecutor.java:899
#3 java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(Ljava/util/concurrent/RunnableScheduledFuture;)V ScheduledThreadPoolExecutor.java:342
#4 java.util.concurrent.ScheduledThreadPoolExecutor.schedule(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture; ScheduledThreadPoolExecutor.java:562
#5 sun.rmi.transport.DGCAckHandler.startTimer()V DGCAckHandler.java:119
#6 sun.rmi.transport.ConnectionOutputStream.done()V ConnectionOutputStream.java:106
#7 sun.rmi.transport.StreamRemoteCall.releaseOutputStream()V StreamRemoteCall.java:117
#8 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:407
#9 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#10 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#11 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#12 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#13 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#14 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#15 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#16 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#17 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#18 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#19 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#20 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#21 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#22 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#23 java.lang.Thread.run()V Thread.java:835
#24 (Generated Stub) <null>
Previous write of size 4 at 0x0000803eddf4 by thread T77 (mutexes: write M353532573467683640, write M1107885511254533576, write M1107885511242949408, write M353532573407832632, write M353532573406938504, write M353532573407845016, write M353532573405720144, write M353532573406759688, write M353532573405746616, write M353532573406732808, write M353532573468637168, write M9109834):
#0 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.offer(Ljava/lang/Runnable;)Z ScheduledThreadPoolExecutor.java:1105
#1 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.add(Ljava/lang/Runnable;)Z ScheduledThreadPoolExecutor.java:1127
#2 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.add(Ljava/lang/Object;)Z ScheduledThreadPoolExecutor.java:899
#3 java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(Ljava/util/concurrent/RunnableScheduledFuture;)V ScheduledThreadPoolExecutor.java:342
#4 java.util.concurrent.ScheduledThreadPoolExecutor.schedule(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture; ScheduledThreadPoolExecutor.java:562
#5 sun.rmi.transport.DGCAckHandler.startTimer()V DGCAckHandler.java:119
#6 sun.rmi.transport.ConnectionOutputStream.done()V ConnectionOutputStream.java:106
#7 sun.rmi.transport.StreamRemoteCall.releaseOutputStream()V StreamRemoteCall.java:117
#8 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:407
#9 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#10 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#11 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#12 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#13 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#14 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#15 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#16 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#17 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#18 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#19 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#20 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#21 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#22 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#23 java.lang.Thread.run()V Thread.java:835
#24 (Generated Stub) <null>
Mutex M781937487952834912 is already destroyed.
Mutex M362539772672410864 is already destroyed.
Mutex M278660229721264864 is already destroyed.
Mutex M278660229798887928 is already destroyed.
Mutex M278660229799906424 is already destroyed.
Mutex M278660229853398152 is already destroyed.
Mutex M278660229852320984 is already destroyed.
Mutex M9109686 (0x0000ae2c4e98) created at:
#0 __tsan_java_mutex_lock <null> (java+0x487673)
#1 <null> <null> (0x7f4d74910ec7)
#2 sun.rmi.transport.LiveRef.write(Ljava/io/ObjectOutput;Z)V LiveRef.java:264
#3 sun.rmi.server.UnicastRef.writeExternal(Ljava/io/ObjectOutput;)V UnicastRef.java:478
#4 java.rmi.server.RemoteObject.writeObject(Ljava/io/ObjectOutputStream;)V RemoteObject.java:381
#5 jdk.internal.reflect.GeneratedMethodAccessor12.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#6 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#7 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#8 java.io.ObjectStreamClass.invokeWriteObject(Ljava/lang/Object;Ljava/io/ObjectOutputStream;)V ObjectStreamClass.java:1130
#9 java.io.ObjectOutputStream.writeSerialData(Ljava/lang/Object;Ljava/io/ObjectStreamClass;)V ObjectOutputStream.java:1497
#10 java.io.ObjectOutputStream.writeOrdinaryObject(Ljava/lang/Object;Ljava/io/ObjectStreamClass;Z)V ObjectOutputStream.java:1433
#11 java.io.ObjectOutputStream.writeObject0(Ljava/lang/Object;Z)V ObjectOutputStream.java:1179
#12 java.io.ObjectOutputStream.writeObject(Ljava/lang/Object;)V ObjectOutputStream.java:349
#13 sun.rmi.registry.RegistryImpl_Skel.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;IJ)V RegistryImpl_Skel.java:118
#14 sun.rmi.server.UnicastServerRef.oldDispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;I)V UnicastServerRef.java:467
#15 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:297
#16 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#17 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#18 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#19 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#20 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#21 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#22 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#23 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#24 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#25 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#26 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#27 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#28 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#29 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#30 java.lang.Thread.run()V Thread.java:835
#31 (Generated Stub) <null>
Mutex M353532573467683640 is already destroyed.
Mutex M1107885511254533576 is already destroyed.
Mutex M1107885511242949408 is already destroyed.
Mutex M353532573407832632 is already destroyed.
Mutex M353532573406938504 is already destroyed.
Mutex M353532573407845016 is already destroyed.
Mutex M353532573405720144 is already destroyed.
Mutex M353532573406759688 is already destroyed.
Mutex M353532573405746616 is already destroyed.
Mutex M353532573406732808 is already destroyed.
Mutex M353532573468637168 is already destroyed.
Mutex M9109834 (0x0000ae112230) created at:
#0 __tsan_java_mutex_lock <null> (java+0x487673)
#1 <null> <null> (0x7f4d74910ec7)
#2 sun.rmi.transport.LiveRef.write(Ljava/io/ObjectOutput;Z)V LiveRef.java:264
#3 sun.rmi.server.UnicastRef.writeExternal(Ljava/io/ObjectOutput;)V UnicastRef.java:478
#4 java.rmi.server.RemoteObject.writeObject(Ljava/io/ObjectOutputStream;)V RemoteObject.java:381
#5 jdk.internal.reflect.GeneratedMethodAccessor12.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#6 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#7 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#8 java.io.ObjectStreamClass.invokeWriteObject(Ljava/lang/Object;Ljava/io/ObjectOutputStream;)V ObjectStreamClass.java:1130
#9 java.io.ObjectOutputStream.writeSerialData(Ljava/lang/Object;Ljava/io/ObjectStreamClass;)V ObjectOutputStream.java:1497
#10 java.io.ObjectOutputStream.writeOrdinaryObject(Ljava/lang/Object;Ljava/io/ObjectStreamClass;Z)V ObjectOutputStream.java:1433
#11 java.io.ObjectOutputStream.writeObject0(Ljava/lang/Object;Z)V ObjectOutputStream.java:1179
#12 java.io.ObjectOutputStream.writeObject(Ljava/lang/Object;)V ObjectOutputStream.java:349
#13 sun.rmi.registry.RegistryImpl_Skel.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;IJ)V RegistryImpl_Skel.java:118
#14 sun.rmi.server.UnicastServerRef.oldDispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;I)V UnicastServerRef.java:467
#15 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:297
#16 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#17 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#18 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#19 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#20 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#21 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#22 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#23 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#24 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#25 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#26 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#27 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#28 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#29 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#30 java.lang.Thread.run()V Thread.java:835
#31 (Generated Stub) <null>
Thread T82 (tid=26777, running) created by thread T13 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop()V TCPTransport.java:409
#6 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run()V TCPTransport.java:366
#7 java.lang.Thread.run()V Thread.java:835
#8 (Generated Stub) <null>
Thread T77 (tid=26772, running) created by thread T13 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop()V TCPTransport.java:409
#6 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run()V TCPTransport.java:366
#7 java.lang.Thread.run()V Thread.java:835
#8 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race ScheduledThreadPoolExecutor.java:1102 in java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.offer(Ljava/lang/Runnable;)Z
==================
==================
WARNING: ThreadSanitizer: data race (pid=24680)
Read of size 4 at 0x0000aeadbab0 by thread T135:
#0 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.internalgetCounter(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;)Ljava/util/concurrent/atomic/AtomicInteger; JournalTransaction.java:370
#1 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.getCounter(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;)I JournalTransaction.java:78
#2 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.fillNumberOfRecords(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;Lorg/apache/activemq/artemis/core/journal/impl/dataformat/JournalInternalRecord;)V JournalTransaction.java:173
#3 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendRecord(Lorg/apache/activemq/artemis/core/journal/impl/dataformat/JournalInternalRecord;ZZLorg/apache/activemq/artemis/core/journal/impl/JournalTransaction;Lorg/apache/activemq/artemis/core/io JournalImpl.java:2814
#4 org.apache.activemq.artemis.core.journal.impl.JournalImpl.access$100(Lorg/apache/activemq/artemis/core/journal/impl/JournalImpl;Lorg/apache/activemq/artemis/core/journal/impl/dataformat/JournalInternalRecord;ZZLorg/apache/activemq/artemis/core/journal/imp JournalImpl.java:93
#5 org.apache.activemq.artemis.core.journal.impl.JournalImpl$9.run()V JournalImpl.java:1320
#6 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#8 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#9 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#10 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#11 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#12 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#13 (Generated Stub) <null>
Previous write of size 4 at 0x0000aeadbab0 by thread T134:
#0 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.internalgetCounter(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;)Ljava/util/concurrent/atomic/AtomicInteger; JournalTransaction.java:371
#1 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.incCounter(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;)V JournalTransaction.java:82
#2 org.apache.activemq.artemis.core.journal.impl.JournalTransaction.addNegative(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;J)V JournalTransaction.java:218
#3 org.apache.activemq.artemis.core.journal.impl.JournalImpl$7.run()V JournalImpl.java:1185
#4 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#5 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#7 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#8 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#9 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#10 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#11 (Generated Stub) <null>
Thread T135 (tid=27005, running) created by thread T106 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z SimpleAddressManager.java:276
#13 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.internalAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Z)Z PostOfficeImpl.java:455
#14 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z PostOfficeImpl.java:442
#15 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z ActiveMQServerImpl.java:3274
#16 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createAddress(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ActiveMQServerControlImpl.java:815
#17 (Generated Stub) <null>
#18 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#19 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#20 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#21 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#22 (Generated Stub) <null>
#23 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#24 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#25 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#26 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#27 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#28 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#29 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#30 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#31 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#32 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#33 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#34 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#35 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#36 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#37 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#38 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#39 (Generated Stub) <null>
#40 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#41 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#42 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#43 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#44 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#45 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#46 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#47 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#48 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#49 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#50 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#51 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#52 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#53 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#54 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#55 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#56 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#57 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#58 java.lang.Thread.run()V Thread.java:835
#59 (Generated Stub) <null>
Thread T134 (tid=27004, running) created by thread T106 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendAddRecordTransactional(JJBLorg/apache/activemq/artemis/core/persistence/Persister;Ljava/lang/Object;)V JournalImpl.java:1020
#9 (Unknown Method) <null>
#10 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.addAddressBinding(JLorg/apache/activemq/artemis/core/server/impl/AddressInfo;)V AbstractJournalStorageManager.java:1386
#11 org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z SimpleAddressManager.java:275
#12 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.internalAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Z)Z PostOfficeImpl.java:455
#13 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z PostOfficeImpl.java:442
#14 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z ActiveMQServerImpl.java:3274
#15 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createAddress(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ActiveMQServerControlImpl.java:815
#16 (Generated Stub) <null>
#17 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#18 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#19 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#20 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#21 (Generated Stub) <null>
#22 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#23 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#24 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#25 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#26 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#27 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#28 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#29 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#30 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#31 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#32 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#33 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#34 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#35 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#36 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#37 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#38 (Generated Stub) <null>
#39 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#40 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#41 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#42 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#43 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#44 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#45 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#46 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#47 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#48 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#49 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#50 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#51 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$246.run()Ljava/lang/Object; ??
#52 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#53 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#54 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#55 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#56 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#57 java.lang.Thread.run()V Thread.java:835
#58 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race JournalTransaction.java:370 in org.apache.activemq.artemis.core.journal.impl.JournalTransaction.internalgetCounter(Lorg/apache/activemq/artemis/core/journal/impl/JournalFile;)Ljava/util/concurrent/atomic/AtomicInteger;
==================
==================
WARNING: ThreadSanitizer: data race (pid=31805)
Write of size 8 at 0x000080c728d8 by thread T57:
#0 org.apache.activemq.artemis.utils.collections.ConcurrentLongHashMap$Section.put(JLjava/lang/Object;IZLjava/util/function/LongFunction;)Ljava/lang/Object; ConcurrentLongHashMap.java:322
#1 org.apache.activemq.artemis.utils.collections.ConcurrentLongHashMap.putIfAbsent(JLjava/lang/Object;)Ljava/lang/Object; ConcurrentLongHashMap.java:138
#2 org.apache.activemq.artemis.core.journal.impl.JournalImpl.getTransactionInfo(J)Lorg/apache/activemq/artemis/core/journal/impl/JournalTransaction; JournalImpl.java:2862
#3 org.apache.activemq.artemis.core.journal.impl.JournalImpl.access$700(Lorg/apache/activemq/artemis/core/journal/impl/JournalImpl;J)Lorg/apache/activemq/artemis/core/journal/impl/JournalTransaction; JournalImpl.java:93
#4 org.apache.activemq.artemis.core.journal.impl.JournalImpl$4.run()V JournalImpl.java:1026
#5 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#6 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#7 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#8 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#9 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#10 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#11 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#12 (Generated Stub) <null>
Previous read of size 8 at 0x000080c728d8 by thread T55 (mutexes: write M1031324317316599880, write M74590870988126456):
#0 org.apache.activemq.artemis.utils.collections.ConcurrentLongHashMap$Section.get(JI)Ljava/lang/Object; ConcurrentLongHashMap.java:236
#1 org.apache.activemq.artemis.utils.collections.ConcurrentLongHashMap.get(J)Ljava/lang/Object; ConcurrentLongHashMap.java:122
#2 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1299
#3 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#4 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#5 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#6 org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z SimpleAddressManager.java:276
#7 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.internalAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Z)Z PostOfficeImpl.java:455
#8 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z PostOfficeImpl.java:442
#9 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z ActiveMQServerImpl.java:3274
#10 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activem ActiveMQServerImpl.java:3388
#11 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:3578
#12 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:1863
#13 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZJ)Ljava/lang/String; ActiveMQServerControlImpl.java:1137
#14 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1074
#15 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZIZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1028
#16 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZ)Ljava/lang/String; ActiveMQServerControlImpl.java:944
#17 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)V ActiveMQServerControlImpl.java:931
#18 (Generated Stub) <null>
#19 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#20 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#21 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#22 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#23 jdk.internal.reflect.GeneratedMethodAccessor9.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#24 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#25 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#26 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#27 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#28 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#29 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#30 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#31 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#32 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#33 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#34 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#35 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#36 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#37 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#38 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#39 jdk.internal.reflect.GeneratedMethodAccessor13.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#40 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#41 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#42 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#43 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#44 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#45 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#46 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#47 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#48 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#49 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#50 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#51 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$221.run()Ljava/lang/Object; ??
#52 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#53 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#54 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#55 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#56 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#57 java.lang.Thread.run()V Thread.java:835
#58 (Generated Stub) <null>
Mutex M1031324317316599880 is already destroyed.
Mutex M74590870988126456 is already destroyed.
Thread T57 (tid=677, running) created by thread T55 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendAddRecord(JBLorg/apache/activemq/artemis/core/persistence/Persister;Ljava/lang/Object;ZLorg/apache/activemq/artemis/core/journal/IOCompletion;)V JournalImpl.java:845
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendAddRecord(JBLorg/apache/activemq/artemis/core/persistence/Persister;Ljava/lang/Object;Z)V JournalBase.java:49
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendAddRecord(JBLorg/apache/activemq/artemis/core/persistence/Persister;Ljava/lang/Object;Z)V JournalImpl.java:93
#11 (Unknown Method) <null>
#12 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.storeID(JJ)V AbstractJournalStorageManager.java:805
#13 org.apache.activemq.artemis.core.persistence.impl.journal.BatchingIDGenerator.storeID(JJ)V BatchingIDGenerator.java:147
#14 org.apache.activemq.artemis.core.persistence.impl.journal.BatchingIDGenerator.saveCheckPoint(J)V BatchingIDGenerator.java:132
#15 org.apache.activemq.artemis.core.persistence.impl.journal.BatchingIDGenerator.generateID()J BatchingIDGenerator.java:111
#16 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.generateID()J AbstractJournalStorageManager.java:334
#17 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activem ActiveMQServerImpl.java:3370
#18 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:3578
#19 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:1863
#20 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZJ)Ljava/lang/String; ActiveMQServerControlImpl.java:1137
#21 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1074
#22 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZIZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1028
#23 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZ)Ljava/lang/String; ActiveMQServerControlImpl.java:944
#24 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)V ActiveMQServerControlImpl.java:931
#25 (Generated Stub) <null>
#26 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#27 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#28 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#29 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#30 jdk.internal.reflect.GeneratedMethodAccessor9.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#31 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#32 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#33 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#34 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#35 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#36 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#37 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#38 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#39 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#40 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#41 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#42 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#43 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#44 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#45 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#46 (Generated Stub) <null>
#47 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#48 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#49 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#50 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#51 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#52 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#53 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#54 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#55 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#56 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#57 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#58 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#59 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$221.run()Ljava/lang/Object; ??
#60 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#61 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#62 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#63 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#64 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#65 java.lang.Thread.run()V Thread.java:835
#66 (Generated Stub) <null>
Thread T55 (tid=672, running) created by thread T13 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop()V TCPTransport.java:409
#6 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run()V TCPTransport.java:366
#7 java.lang.Thread.run()V Thread.java:835
#8 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race ConcurrentLongHashMap.java:322 in org.apache.activemq.artemis.utils.collections.ConcurrentLongHashMap$Section.put(JLjava/lang/Object;IZLjava/util/function/LongFunction;)Ljava/lang/Object;
==================
==================
WARNING: ThreadSanitizer: data race (pid=31805)
Write of size 4 at 0x000080c729c4 by thread T57:
#0 org.apache.activemq.artemis.utils.collections.ConcurrentLongHashMap$Section.put(JLjava/lang/Object;IZLjava/util/function/LongFunction;)Ljava/lang/Object; ConcurrentLongHashMap.java:323
#1 org.apache.activemq.artemis.utils.collections.ConcurrentLongHashMap.putIfAbsent(JLjava/lang/Object;)Ljava/lang/Object; ConcurrentLongHashMap.java:138
#2 org.apache.activemq.artemis.core.journal.impl.JournalImpl.getTransactionInfo(J)Lorg/apache/activemq/artemis/core/journal/impl/JournalTransaction; JournalImpl.java:2862
#3 org.apache.activemq.artemis.core.journal.impl.JournalImpl.access$700(Lorg/apache/activemq/artemis/core/journal/impl/JournalImpl;J)Lorg/apache/activemq/artemis/core/journal/impl/JournalTransaction; JournalImpl.java:93
#4 org.apache.activemq.artemis.core.journal.impl.JournalImpl$4.run()V JournalImpl.java:1026
#5 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#6 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#7 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#8 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#9 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#10 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#11 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#12 (Generated Stub) <null>
Previous read of size 4 at 0x000080c729c4 by thread T55 (mutexes: write M1031324317316599880, write M74590870988126456):
#0 org.apache.activemq.artemis.utils.collections.ConcurrentLongHashMap$Section.get(JI)Ljava/lang/Object; ConcurrentLongHashMap.java:237
#1 org.apache.activemq.artemis.utils.collections.ConcurrentLongHashMap.get(J)Ljava/lang/Object; ConcurrentLongHashMap.java:122
#2 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1299
#3 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#4 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#5 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#6 org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z SimpleAddressManager.java:276
#7 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.internalAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Z)Z PostOfficeImpl.java:455
#8 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z PostOfficeImpl.java:442
#9 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z ActiveMQServerImpl.java:3274
#10 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activem ActiveMQServerImpl.java:3388
#11 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:3578
#12 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:1863
#13 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZJ)Ljava/lang/String; ActiveMQServerControlImpl.java:1137
#14 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1074
#15 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZIZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1028
#16 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZ)Ljava/lang/String; ActiveMQServerControlImpl.java:944
#17 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)V ActiveMQServerControlImpl.java:931
#18 (Generated Stub) <null>
#19 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#20 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#21 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#22 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#23 jdk.internal.reflect.GeneratedMethodAccessor9.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#24 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#25 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#26 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#27 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#28 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#29 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#30 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#31 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#32 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#33 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#34 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#35 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#36 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#37 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#38 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#39 jdk.internal.reflect.GeneratedMethodAccessor13.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#40 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#41 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#42 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#43 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#44 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#45 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#46 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#47 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#48 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#49 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#50 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#51 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$221.run()Ljava/lang/Object; ??
#52 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#53 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#54 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#55 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#56 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#57 java.lang.Thread.run()V Thread.java:835
#58 (Generated Stub) <null>
Mutex M1031324317316599880 is already destroyed.
Mutex M74590870988126456 is already destroyed.
Thread T57 (tid=677, running) created by thread T55 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendAddRecord(JBLorg/apache/activemq/artemis/core/persistence/Persister;Ljava/lang/Object;ZLorg/apache/activemq/artemis/core/journal/IOCompletion;)V JournalImpl.java:845
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendAddRecord(JBLorg/apache/activemq/artemis/core/persistence/Persister;Ljava/lang/Object;Z)V JournalBase.java:49
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendAddRecord(JBLorg/apache/activemq/artemis/core/persistence/Persister;Ljava/lang/Object;Z)V JournalImpl.java:93
#11 (Unknown Method) <null>
#12 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.storeID(JJ)V AbstractJournalStorageManager.java:805
#13 org.apache.activemq.artemis.core.persistence.impl.journal.BatchingIDGenerator.storeID(JJ)V BatchingIDGenerator.java:147
#14 org.apache.activemq.artemis.core.persistence.impl.journal.BatchingIDGenerator.saveCheckPoint(J)V BatchingIDGenerator.java:132
#15 org.apache.activemq.artemis.core.persistence.impl.journal.BatchingIDGenerator.generateID()J BatchingIDGenerator.java:111
#16 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.generateID()J AbstractJournalStorageManager.java:334
#17 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activem ActiveMQServerImpl.java:3370
#18 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:3578
#19 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:1863
#20 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZJ)Ljava/lang/String; ActiveMQServerControlImpl.java:1137
#21 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1074
#22 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZIZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1028
#23 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZ)Ljava/lang/String; ActiveMQServerControlImpl.java:944
#24 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)V ActiveMQServerControlImpl.java:931
#25 (Generated Stub) <null>
#26 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#27 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#28 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#29 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#30 jdk.internal.reflect.GeneratedMethodAccessor9.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#31 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#32 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#33 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#34 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#35 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#36 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#37 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#38 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#39 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#40 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#41 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#42 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#43 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#44 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#45 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#46 (Generated Stub) <null>
#47 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#48 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#49 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#50 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#51 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#52 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#53 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#54 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#55 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#56 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#57 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#58 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#59 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$221.run()Ljava/lang/Object; ??
#60 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#61 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#62 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#63 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#64 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#65 java.lang.Thread.run()V Thread.java:835
#66 (Generated Stub) <null>
Thread T55 (tid=672, running) created by thread T13 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop()V TCPTransport.java:409
#6 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run()V TCPTransport.java:366
#7 java.lang.Thread.run()V Thread.java:835
#8 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race ConcurrentLongHashMap.java:323 in org.apache.activemq.artemis.utils.collections.ConcurrentLongHashMap$Section.put(JLjava/lang/Object;IZLjava/util/function/LongFunction;)Ljava/lang/Object;
==================
==================
WARNING: ThreadSanitizer: data race (pid=31805)
Read of size 4 at 0x00009ed1d0b0 by thread T57:
#0 org.apache.activemq.artemis.core.persistence.impl.journal.codec.PersistentAddressBindingEncoding.getEncodeSize()I PersistentAddressBindingEncoding.java:117
#1 org.apache.activemq.artemis.core.journal.EncoderPersister.getEncodeSize(Lorg/apache/activemq/artemis/core/journal/EncodingSupport;)I EncoderPersister.java:38
#2 org.apache.activemq.artemis.core.journal.EncoderPersister.getEncodeSize(Ljava/lang/Object;)I EncoderPersister.java:25
#3 org.apache.activemq.artemis.core.journal.impl.dataformat.JournalAddRecordTX.getEncodeSize()I JournalAddRecordTX.java:89
#4 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendRecord(Lorg/apache/activemq/artemis/core/journal/impl/dataformat/JournalInternalRecord;ZZLorg/apache/activemq/artemis/core/journal/impl/JournalTransaction;Lorg/apache/activemq/artemis/core/io JournalImpl.java:2792
#5 org.apache.activemq.artemis.core.journal.impl.JournalImpl.access$100(Lorg/apache/activemq/artemis/core/journal/impl/JournalImpl;Lorg/apache/activemq/artemis/core/journal/impl/dataformat/JournalInternalRecord;ZZLorg/apache/activemq/artemis/core/journal/imp JournalImpl.java:93
#6 org.apache.activemq.artemis.core.journal.impl.JournalImpl$4.run()V JournalImpl.java:1033
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#8 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#9 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#10 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#11 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#12 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#13 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#14 (Generated Stub) <null>
Previous write of size 4 at 0x00009ed1d0b0 by thread T55 (mutexes: write M1031324317316599880, write M74590870988126456):
#0 org.apache.activemq.artemis.core.persistence.impl.journal.codec.PersistentAddressBindingEncoding.<init>(Lorg/apache/activemq/artemis/api/core/SimpleString;Ljava/util/EnumSet;Z)V PersistentAddressBindingEncoding.java:62
#1 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.addAddressBinding(JLorg/apache/activemq/artemis/core/server/impl/AddressInfo;)V AbstractJournalStorageManager.java:1379
#2 org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z SimpleAddressManager.java:275
#3 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.internalAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Z)Z PostOfficeImpl.java:455
#4 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z PostOfficeImpl.java:442
#5 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z ActiveMQServerImpl.java:3274
#6 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activem ActiveMQServerImpl.java:3388
#7 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:3578
#8 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:1863
#9 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZJ)Ljava/lang/String; ActiveMQServerControlImpl.java:1137
#10 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1074
#11 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZIZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1028
#12 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZ)Ljava/lang/String; ActiveMQServerControlImpl.java:944
#13 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)V ActiveMQServerControlImpl.java:931
#14 (Generated Stub) <null>
#15 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#16 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#17 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#18 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#19 jdk.internal.reflect.GeneratedMethodAccessor9.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#20 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#21 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#22 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#23 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#24 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#25 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#26 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#27 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#28 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#29 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#30 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#31 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#32 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#33 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#34 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#35 jdk.internal.reflect.GeneratedMethodAccessor13.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#36 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#37 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#38 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#39 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#40 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#41 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#42 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#43 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#44 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#45 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#46 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$221.run()Ljava/lang/Object; ??
#48 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#49 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#50 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#51 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#52 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#53 java.lang.Thread.run()V Thread.java:835
#54 (Generated Stub) <null>
Mutex M1031324317316599880 is already destroyed.
Mutex M74590870988126456 is already destroyed.
Thread T57 (tid=677, running) created by thread T55 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendAddRecord(JBLorg/apache/activemq/artemis/core/persistence/Persister;Ljava/lang/Object;ZLorg/apache/activemq/artemis/core/journal/IOCompletion;)V JournalImpl.java:845
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendAddRecord(JBLorg/apache/activemq/artemis/core/persistence/Persister;Ljava/lang/Object;Z)V JournalBase.java:49
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendAddRecord(JBLorg/apache/activemq/artemis/core/persistence/Persister;Ljava/lang/Object;Z)V JournalImpl.java:93
#11 (Unknown Method) <null>
#12 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.storeID(JJ)V AbstractJournalStorageManager.java:805
#13 org.apache.activemq.artemis.core.persistence.impl.journal.BatchingIDGenerator.storeID(JJ)V BatchingIDGenerator.java:147
#14 org.apache.activemq.artemis.core.persistence.impl.journal.BatchingIDGenerator.saveCheckPoint(J)V BatchingIDGenerator.java:132
#15 org.apache.activemq.artemis.core.persistence.impl.journal.BatchingIDGenerator.generateID()J BatchingIDGenerator.java:111
#16 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.generateID()J AbstractJournalStorageManager.java:334
#17 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activem ActiveMQServerImpl.java:3370
#18 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:3578
#19 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:1863
#20 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZJ)Ljava/lang/String; ActiveMQServerControlImpl.java:1137
#21 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1074
#22 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZIZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1028
#23 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZ)Ljava/lang/String; ActiveMQServerControlImpl.java:944
#24 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)V ActiveMQServerControlImpl.java:931
#25 (Generated Stub) <null>
#26 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#27 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#28 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#29 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#30 jdk.internal.reflect.GeneratedMethodAccessor9.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#31 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#32 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#33 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#34 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#35 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#36 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#37 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#38 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#39 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#40 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#41 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#42 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#43 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#44 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#45 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#46 (Generated Stub) <null>
#47 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#48 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#49 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#50 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#51 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#52 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#53 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#54 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#55 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#56 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#57 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#58 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#59 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$221.run()Ljava/lang/Object; ??
#60 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#61 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#62 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#63 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#64 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#65 java.lang.Thread.run()V Thread.java:835
#66 (Generated Stub) <null>
Thread T55 (tid=672, running) created by thread T13 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop()V TCPTransport.java:409
#6 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run()V TCPTransport.java:366
#7 java.lang.Thread.run()V Thread.java:835
#8 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race PersistentAddressBindingEncoding.java:117 in org.apache.activemq.artemis.core.persistence.impl.journal.codec.PersistentAddressBindingEncoding.getEncodeSize()I
==================
==================
WARNING: ThreadSanitizer: data race (pid=31805)
Read of size 4 at 0x00009ed1d0b8 by thread T57:
#0 org.apache.activemq.artemis.core.persistence.impl.journal.codec.PersistentAddressBindingEncoding.getEncodeSize()I PersistentAddressBindingEncoding.java:117
#1 org.apache.activemq.artemis.core.journal.EncoderPersister.getEncodeSize(Lorg/apache/activemq/artemis/core/journal/EncodingSupport;)I EncoderPersister.java:38
#2 org.apache.activemq.artemis.core.journal.EncoderPersister.getEncodeSize(Ljava/lang/Object;)I EncoderPersister.java:25
#3 org.apache.activemq.artemis.core.journal.impl.dataformat.JournalAddRecordTX.getEncodeSize()I JournalAddRecordTX.java:89
#4 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendRecord(Lorg/apache/activemq/artemis/core/journal/impl/dataformat/JournalInternalRecord;ZZLorg/apache/activemq/artemis/core/journal/impl/JournalTransaction;Lorg/apache/activemq/artemis/core/io JournalImpl.java:2792
#5 org.apache.activemq.artemis.core.journal.impl.JournalImpl.access$100(Lorg/apache/activemq/artemis/core/journal/impl/JournalImpl;Lorg/apache/activemq/artemis/core/journal/impl/dataformat/JournalInternalRecord;ZZLorg/apache/activemq/artemis/core/journal/imp JournalImpl.java:93
#6 org.apache.activemq.artemis.core.journal.impl.JournalImpl$4.run()V JournalImpl.java:1033
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#8 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#9 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#10 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#11 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#12 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#13 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#14 (Generated Stub) <null>
Previous write of size 4 at 0x00009ed1d0b8 by thread T55 (mutexes: write M1031324317316599880, write M74590870988126456):
#0 org.apache.activemq.artemis.core.persistence.impl.journal.codec.PersistentAddressBindingEncoding.<init>(Lorg/apache/activemq/artemis/api/core/SimpleString;Ljava/util/EnumSet;Z)V PersistentAddressBindingEncoding.java:63
#1 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.addAddressBinding(JLorg/apache/activemq/artemis/core/server/impl/AddressInfo;)V AbstractJournalStorageManager.java:1379
#2 org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z SimpleAddressManager.java:275
#3 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.internalAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Z)Z PostOfficeImpl.java:455
#4 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z PostOfficeImpl.java:442
#5 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z ActiveMQServerImpl.java:3274
#6 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activem ActiveMQServerImpl.java:3388
#7 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:3578
#8 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:1863
#9 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZJ)Ljava/lang/String; ActiveMQServerControlImpl.java:1137
#10 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1074
#11 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZIZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1028
#12 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZ)Ljava/lang/String; ActiveMQServerControlImpl.java:944
#13 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)V ActiveMQServerControlImpl.java:931
#14 (Generated Stub) <null>
#15 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#16 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#17 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#18 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#19 jdk.internal.reflect.GeneratedMethodAccessor9.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#20 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#21 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#22 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#23 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#24 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#25 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#26 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#27 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#28 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#29 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#30 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#31 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#32 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#33 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#34 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#35 jdk.internal.reflect.GeneratedMethodAccessor13.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#36 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#37 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#38 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#39 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#40 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#41 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#42 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#43 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#44 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#45 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#46 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$221.run()Ljava/lang/Object; ??
#48 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#49 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#50 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#51 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#52 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#53 java.lang.Thread.run()V Thread.java:835
#54 (Generated Stub) <null>
Mutex M1031324317316599880 is already destroyed.
Mutex M74590870988126456 is already destroyed.
Thread T57 (tid=677, running) created by thread T55 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendAddRecord(JBLorg/apache/activemq/artemis/core/persistence/Persister;Ljava/lang/Object;ZLorg/apache/activemq/artemis/core/journal/IOCompletion;)V JournalImpl.java:845
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendAddRecord(JBLorg/apache/activemq/artemis/core/persistence/Persister;Ljava/lang/Object;Z)V JournalBase.java:49
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendAddRecord(JBLorg/apache/activemq/artemis/core/persistence/Persister;Ljava/lang/Object;Z)V JournalImpl.java:93
#11 (Unknown Method) <null>
#12 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.storeID(JJ)V AbstractJournalStorageManager.java:805
#13 org.apache.activemq.artemis.core.persistence.impl.journal.BatchingIDGenerator.storeID(JJ)V BatchingIDGenerator.java:147
#14 org.apache.activemq.artemis.core.persistence.impl.journal.BatchingIDGenerator.saveCheckPoint(J)V BatchingIDGenerator.java:132
#15 org.apache.activemq.artemis.core.persistence.impl.journal.BatchingIDGenerator.generateID()J BatchingIDGenerator.java:111
#16 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.generateID()J AbstractJournalStorageManager.java:334
#17 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activem ActiveMQServerImpl.java:3370
#18 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:3578
#19 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:1863
#20 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZJ)Ljava/lang/String; ActiveMQServerControlImpl.java:1137
#21 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1074
#22 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZIZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1028
#23 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZ)Ljava/lang/String; ActiveMQServerControlImpl.java:944
#24 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)V ActiveMQServerControlImpl.java:931
#25 (Generated Stub) <null>
#26 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#27 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#28 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#29 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#30 jdk.internal.reflect.GeneratedMethodAccessor9.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#31 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#32 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#33 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#34 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#35 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#36 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#37 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#38 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#39 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#40 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#41 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#42 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#43 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#44 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#45 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#46 (Generated Stub) <null>
#47 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#48 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#49 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#50 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#51 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#52 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#53 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#54 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#55 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#56 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#57 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#58 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#59 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$221.run()Ljava/lang/Object; ??
#60 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#61 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#62 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#63 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#64 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#65 java.lang.Thread.run()V Thread.java:835
#66 (Generated Stub) <null>
Thread T55 (tid=672, running) created by thread T13 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop()V TCPTransport.java:409
#6 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run()V TCPTransport.java:366
#7 java.lang.Thread.run()V Thread.java:835
#8 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race PersistentAddressBindingEncoding.java:117 in org.apache.activemq.artemis.core.persistence.impl.journal.codec.PersistentAddressBindingEncoding.getEncodeSize()I
==================
==================
WARNING: ThreadSanitizer: data race (pid=31805)
Read of size 8 at 0x00009ed1d070 by thread T57:
#0 java.util.RegularEnumSet.size()I RegularEnumSet.java:122
#1 org.apache.activemq.artemis.core.persistence.impl.journal.codec.PersistentAddressBindingEncoding.getEncodeSize()I PersistentAddressBindingEncoding.java:119
#2 org.apache.activemq.artemis.core.journal.EncoderPersister.getEncodeSize(Lorg/apache/activemq/artemis/core/journal/EncodingSupport;)I EncoderPersister.java:38
#3 org.apache.activemq.artemis.core.journal.EncoderPersister.getEncodeSize(Ljava/lang/Object;)I EncoderPersister.java:25
#4 org.apache.activemq.artemis.core.journal.impl.dataformat.JournalAddRecordTX.getEncodeSize()I JournalAddRecordTX.java:89
#5 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendRecord(Lorg/apache/activemq/artemis/core/journal/impl/dataformat/JournalInternalRecord;ZZLorg/apache/activemq/artemis/core/journal/impl/JournalTransaction;Lorg/apache/activemq/artemis/core/io JournalImpl.java:2792
#6 org.apache.activemq.artemis.core.journal.impl.JournalImpl.access$100(Lorg/apache/activemq/artemis/core/journal/impl/JournalImpl;Lorg/apache/activemq/artemis/core/journal/impl/dataformat/JournalInternalRecord;ZZLorg/apache/activemq/artemis/core/journal/imp JournalImpl.java:93
#7 org.apache.activemq.artemis.core.journal.impl.JournalImpl$4.run()V JournalImpl.java:1033
#8 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#9 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#10 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#11 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#12 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#13 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#14 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#15 (Generated Stub) <null>
Previous write of size 8 at 0x00009ed1d070 by thread T55 (mutexes: write M1031324317316599880):
#0 java.util.RegularEnumSet.<init>(Ljava/lang/Class;[Ljava/lang/Enum;)V RegularEnumSet.java:42
#1 java.util.EnumSet.noneOf(Ljava/lang/Class;)Ljava/util/EnumSet; EnumSet.java:114
#2 java.util.EnumSet.of(Ljava/lang/Enum;)Ljava/util/EnumSet; EnumSet.java:214
#3 org.apache.activemq.artemis.core.server.impl.AddressInfo.addRoutingType(Lorg/apache/activemq/artemis/api/core/RoutingType;)Lorg/apache/activemq/artemis/core/server/impl/AddressInfo; AddressInfo.java:133
#4 org.apache.activemq.artemis.core.server.impl.AddressInfo.<init>(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;)V AddressInfo.java:92
#5 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activem ActiveMQServerImpl.java:3385
#6 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:3578
#7 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:1863
#8 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZJ)Ljava/lang/String; ActiveMQServerControlImpl.java:1137
#9 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1074
#10 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZIZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1028
#11 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZ)Ljava/lang/String; ActiveMQServerControlImpl.java:944
#12 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)V ActiveMQServerControlImpl.java:931
#13 (Generated Stub) <null>
#14 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#15 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#16 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#17 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#18 jdk.internal.reflect.GeneratedMethodAccessor9.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#19 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#20 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#21 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#22 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#23 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#24 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#25 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#26 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#27 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#28 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#29 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#30 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#31 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#32 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#33 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#34 jdk.internal.reflect.GeneratedMethodAccessor13.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#35 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#36 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#37 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#38 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#39 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#40 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#41 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#42 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#43 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#44 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#45 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#46 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$221.run()Ljava/lang/Object; ??
#47 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#48 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#49 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#50 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#51 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#52 java.lang.Thread.run()V Thread.java:835
#53 (Generated Stub) <null>
Mutex M1031324317316599880 is already destroyed.
Thread T57 (tid=677, running) created by thread T55 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendAddRecord(JBLorg/apache/activemq/artemis/core/persistence/Persister;Ljava/lang/Object;ZLorg/apache/activemq/artemis/core/journal/IOCompletion;)V JournalImpl.java:845
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendAddRecord(JBLorg/apache/activemq/artemis/core/persistence/Persister;Ljava/lang/Object;Z)V JournalBase.java:49
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendAddRecord(JBLorg/apache/activemq/artemis/core/persistence/Persister;Ljava/lang/Object;Z)V JournalImpl.java:93
#11 (Unknown Method) <null>
#12 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.storeID(JJ)V AbstractJournalStorageManager.java:805
#13 org.apache.activemq.artemis.core.persistence.impl.journal.BatchingIDGenerator.storeID(JJ)V BatchingIDGenerator.java:147
#14 org.apache.activemq.artemis.core.persistence.impl.journal.BatchingIDGenerator.saveCheckPoint(J)V BatchingIDGenerator.java:132
#15 org.apache.activemq.artemis.core.persistence.impl.journal.BatchingIDGenerator.generateID()J BatchingIDGenerator.java:111
#16 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.generateID()J AbstractJournalStorageManager.java:334
#17 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activem ActiveMQServerImpl.java:3370
#18 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:3578
#19 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:1863
#20 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZJ)Ljava/lang/String; ActiveMQServerControlImpl.java:1137
#21 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1074
#22 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZIZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1028
#23 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZ)Ljava/lang/String; ActiveMQServerControlImpl.java:944
#24 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)V ActiveMQServerControlImpl.java:931
#25 (Generated Stub) <null>
#26 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#27 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#28 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#29 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#30 jdk.internal.reflect.GeneratedMethodAccessor9.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#31 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#32 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#33 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#34 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#35 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#36 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#37 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#38 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#39 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#40 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#41 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#42 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#43 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#44 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#45 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#46 (Generated Stub) <null>
#47 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#48 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#49 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#50 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#51 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#52 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#53 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#54 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#55 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#56 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#57 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#58 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#59 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$221.run()Ljava/lang/Object; ??
#60 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#61 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#62 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#63 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#64 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#65 java.lang.Thread.run()V Thread.java:835
#66 (Generated Stub) <null>
Thread T55 (tid=672, running) created by thread T13 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop()V TCPTransport.java:409
#6 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run()V TCPTransport.java:366
#7 java.lang.Thread.run()V Thread.java:835
#8 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race RegularEnumSet.java:122 in java.util.RegularEnumSet.size()I
==================
==================
WARNING: ThreadSanitizer: data race (pid=31805)
Read of size 1 at 0x00009ed1d0a4 by thread T57:
#0 org.apache.activemq.artemis.core.persistence.impl.journal.codec.PersistentAddressBindingEncoding.encode(Lorg/apache/activemq/artemis/api/core/ActiveMQBuffer;)V PersistentAddressBindingEncoding.java:112
#1 org.apache.activemq.artemis.core.journal.EncoderPersister.encode(Lorg/apache/activemq/artemis/api/core/ActiveMQBuffer;Lorg/apache/activemq/artemis/core/journal/EncodingSupport;)V EncoderPersister.java:43
#2 org.apache.activemq.artemis.core.journal.EncoderPersister.encode(Lorg/apache/activemq/artemis/api/core/ActiveMQBuffer;Ljava/lang/Object;)V EncoderPersister.java:25
#3 org.apache.activemq.artemis.core.journal.impl.dataformat.JournalAddRecordTX.encode(Lorg/apache/activemq/artemis/api/core/ActiveMQBuffer;)V JournalAddRecordTX.java:82
#4 org.apache.activemq.artemis.core.io.AbstractSequentialFile.write(Lorg/apache/activemq/artemis/core/journal/EncodingSupport;ZLorg/apache/activemq/artemis/core/io/IOCallback;)V AbstractSequentialFile.java:235
#5 org.apache.activemq.artemis.core.io.AbstractSequentialFile.write(Lorg/apache/activemq/artemis/core/journal/EncodingSupport;Z)V AbstractSequentialFile.java:251
#6 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendRecord(Lorg/apache/activemq/artemis/core/journal/impl/dataformat/JournalInternalRecord;ZZLorg/apache/activemq/artemis/core/journal/impl/JournalTransaction;Lorg/apache/activemq/artemis/core/io JournalImpl.java:2826
#7 org.apache.activemq.artemis.core.journal.impl.JournalImpl.access$100(Lorg/apache/activemq/artemis/core/journal/impl/JournalImpl;Lorg/apache/activemq/artemis/core/journal/impl/dataformat/JournalInternalRecord;ZZLorg/apache/activemq/artemis/core/journal/imp JournalImpl.java:93
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl$4.run()V JournalImpl.java:1033
#9 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#10 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#11 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#12 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#13 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#14 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#15 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#16 (Generated Stub) <null>
Previous write of size 1 at 0x00009ed1d0a4 by thread T55 (mutexes: write M1031324317316599880, write M74590870988126456):
#0 org.apache.activemq.artemis.core.persistence.impl.journal.codec.PersistentAddressBindingEncoding.<init>(Lorg/apache/activemq/artemis/api/core/SimpleString;Ljava/util/EnumSet;Z)V PersistentAddressBindingEncoding.java:64
#1 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.addAddressBinding(JLorg/apache/activemq/artemis/core/server/impl/AddressInfo;)V AbstractJournalStorageManager.java:1379
#2 org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z SimpleAddressManager.java:275
#3 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.internalAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Z)Z PostOfficeImpl.java:455
#4 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z PostOfficeImpl.java:442
#5 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z ActiveMQServerImpl.java:3274
#6 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activem ActiveMQServerImpl.java:3388
#7 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:3578
#8 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:1863
#9 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZJ)Ljava/lang/String; ActiveMQServerControlImpl.java:1137
#10 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1074
#11 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZIZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1028
#12 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZ)Ljava/lang/String; ActiveMQServerControlImpl.java:944
#13 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)V ActiveMQServerControlImpl.java:931
#14 (Generated Stub) <null>
#15 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#16 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#17 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#18 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#19 jdk.internal.reflect.GeneratedMethodAccessor9.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#20 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#21 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#22 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#23 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#24 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#25 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#26 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#27 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#28 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#29 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#30 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#31 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#32 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#33 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#34 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#35 jdk.internal.reflect.GeneratedMethodAccessor13.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#36 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#37 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#38 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#39 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#40 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#41 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#42 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#43 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#44 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#45 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#46 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#47 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$221.run()Ljava/lang/Object; ??
#48 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#49 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#50 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#51 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#52 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#53 java.lang.Thread.run()V Thread.java:835
#54 (Generated Stub) <null>
Mutex M1031324317316599880 is already destroyed.
Mutex M74590870988126456 is already destroyed.
Thread T57 (tid=677, running) created by thread T55 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendAddRecord(JBLorg/apache/activemq/artemis/core/persistence/Persister;Ljava/lang/Object;ZLorg/apache/activemq/artemis/core/journal/IOCompletion;)V JournalImpl.java:845
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendAddRecord(JBLorg/apache/activemq/artemis/core/persistence/Persister;Ljava/lang/Object;Z)V JournalBase.java:49
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendAddRecord(JBLorg/apache/activemq/artemis/core/persistence/Persister;Ljava/lang/Object;Z)V JournalImpl.java:93
#11 (Unknown Method) <null>
#12 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.storeID(JJ)V AbstractJournalStorageManager.java:805
#13 org.apache.activemq.artemis.core.persistence.impl.journal.BatchingIDGenerator.storeID(JJ)V BatchingIDGenerator.java:147
#14 org.apache.activemq.artemis.core.persistence.impl.journal.BatchingIDGenerator.saveCheckPoint(J)V BatchingIDGenerator.java:132
#15 org.apache.activemq.artemis.core.persistence.impl.journal.BatchingIDGenerator.generateID()J BatchingIDGenerator.java:111
#16 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.generateID()J AbstractJournalStorageManager.java:334
#17 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activem ActiveMQServerImpl.java:3370
#18 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:3578
#19 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:1863
#20 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZJ)Ljava/lang/String; ActiveMQServerControlImpl.java:1137
#21 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1074
#22 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZIZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1028
#23 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZ)Ljava/lang/String; ActiveMQServerControlImpl.java:944
#24 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)V ActiveMQServerControlImpl.java:931
#25 (Generated Stub) <null>
#26 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#27 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#28 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#29 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#30 jdk.internal.reflect.GeneratedMethodAccessor9.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#31 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#32 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#33 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#34 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#35 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#36 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#37 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#38 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#39 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#40 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#41 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#42 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#43 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#44 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#45 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#46 (Generated Stub) <null>
#47 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#48 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#49 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#50 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#51 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#52 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#53 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#54 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#55 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#56 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#57 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#58 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#59 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$221.run()Ljava/lang/Object; ??
#60 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#61 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#62 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#63 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#64 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#65 java.lang.Thread.run()V Thread.java:835
#66 (Generated Stub) <null>
Thread T55 (tid=672, running) created by thread T13 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop()V TCPTransport.java:409
#6 sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run()V TCPTransport.java:366
#7 java.lang.Thread.run()V Thread.java:835
#8 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race PersistentAddressBindingEncoding.java:112 in org.apache.activemq.artemis.core.persistence.impl.journal.codec.PersistentAddressBindingEncoding.encode(Lorg/apache/activemq/artemis/api/core/ActiveMQBuffer;)V
==================
==================
WARNING: ThreadSanitizer: data race (pid=31805)
Write of size 4 at 0x000080c73560 by thread T59:
#0 java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryAcquireShared(I)I ReentrantReadWriteLock.java:479
#1 java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireShared(I)V AbstractQueuedSynchronizer.java:1323
#2 java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.lock()V ReentrantReadWriteLock.java:738
#3 org.apache.activemq.artemis.core.journal.impl.JournalImpl$7.run()V JournalImpl.java:1165
#4 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#5 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#7 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#8 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#9 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#10 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#11 (Generated Stub) <null>
Previous write of size 4 at 0x000080c73560 by thread T57:
#0 java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryReleaseShared(I)Z ReentrantReadWriteLock.java:420
#1 java.util.concurrent.locks.AbstractQueuedSynchronizer.releaseShared(I)Z AbstractQueuedSynchronizer.java:1382
#2 java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.unlock()V ReentrantReadWriteLock.java:897
#3 org.apache.activemq.artemis.core.journal.impl.JournalImpl$9.run()V JournalImpl.java:1335
#4 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#5 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#7 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#8 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#9 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#10 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#11 (Generated Stub) <null>
Thread T59 (tid=706, running) created by thread T55 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z SimpleAddressManager.java:276
#13 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.internalAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Z)Z PostOfficeImpl.java:455
#14 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z PostOfficeImpl.java:442
#15 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z ActiveMQServerImpl.java:3274
#16 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activem ActiveMQServerImpl.java:3388
#17 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:3578
#18 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:1863
#19 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZJ)Ljava/lang/String; ActiveMQServerControlImpl.java:1137
#20 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1074
#21 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZIZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1028
#22 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZ)Ljava/lang/String; ActiveMQServerControlImpl.java:944
#23 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)V ActiveMQServerControlImpl.java:931
#24 (Generated Stub) <null>
#25 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#26 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#27 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#28 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#29 jdk.internal.reflect.GeneratedMethodAccessor9.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#30 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#31 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#32 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#33 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#34 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#35 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#36 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#37 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#38 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#39 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#40 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#41 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#42 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#43 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#44 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#45 (Generated Stub) <null>
#46 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#47 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#48 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#49 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#50 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#51 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#52 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#53 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#54 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#55 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#56 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#57 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#58 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$221.run()Ljava/lang/Object; ??
#59 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#60 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#61 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#62 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#63 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#64 java.lang.Thread.run()V Thread.java:835
#65 (Generated Stub) <null>
Thread T57 (tid=677, running) created by thread T55 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendAddRecord(JBLorg/apache/activemq/artemis/core/persistence/Persister;Ljava/lang/Object;ZLorg/apache/activemq/artemis/core/journal/IOCompletion;)V JournalImpl.java:845
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendAddRecord(JBLorg/apache/activemq/artemis/core/persistence/Persister;Ljava/lang/Object;Z)V JournalBase.java:49
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendAddRecord(JBLorg/apache/activemq/artemis/core/persistence/Persister;Ljava/lang/Object;Z)V JournalImpl.java:93
#11 (Unknown Method) <null>
#12 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.storeID(JJ)V AbstractJournalStorageManager.java:805
#13 org.apache.activemq.artemis.core.persistence.impl.journal.BatchingIDGenerator.storeID(JJ)V BatchingIDGenerator.java:147
#14 org.apache.activemq.artemis.core.persistence.impl.journal.BatchingIDGenerator.saveCheckPoint(J)V BatchingIDGenerator.java:132
#15 org.apache.activemq.artemis.core.persistence.impl.journal.BatchingIDGenerator.generateID()J BatchingIDGenerator.java:111
#16 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.generateID()J AbstractJournalStorageManager.java:334
#17 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activem ActiveMQServerImpl.java:3370
#18 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:3578
#19 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:1863
#20 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZJ)Ljava/lang/String; ActiveMQServerControlImpl.java:1137
#21 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1074
#22 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZIZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1028
#23 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZ)Ljava/lang/String; ActiveMQServerControlImpl.java:944
#24 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)V ActiveMQServerControlImpl.java:931
#25 (Generated Stub) <null>
#26 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#27 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#28 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#29 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#30 jdk.internal.reflect.GeneratedMethodAccessor9.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#31 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#32 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#33 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#34 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#35 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#36 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#37 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#38 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#39 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#40 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#41 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#42 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#43 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#44 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#45 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#46 (Generated Stub) <null>
#47 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#48 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#49 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#50 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#51 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#52 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#53 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#54 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#55 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#56 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#57 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#58 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#59 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$221.run()Ljava/lang/Object; ??
#60 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#61 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#62 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#63 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#64 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#65 java.lang.Thread.run()V Thread.java:835
#66 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race ReentrantReadWriteLock.java:479 in java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryAcquireShared(I)I
==================
==================
WARNING: ThreadSanitizer: data race (pid=31805)
Write of size 4 at 0x000080c73554 by thread T59:
#0 java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryAcquireShared(I)I ReentrantReadWriteLock.java:480
#1 java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireShared(I)V AbstractQueuedSynchronizer.java:1323
#2 java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.lock()V ReentrantReadWriteLock.java:738
#3 org.apache.activemq.artemis.core.journal.impl.JournalImpl$7.run()V JournalImpl.java:1165
#4 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#5 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#7 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#8 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#9 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#10 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#11 (Generated Stub) <null>
Previous write of size 4 at 0x000080c73554 by thread T57:
#0 java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryAcquireShared(I)I ReentrantReadWriteLock.java:480
#1 java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireShared(I)V AbstractQueuedSynchronizer.java:1323
#2 java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.lock()V ReentrantReadWriteLock.java:738
#3 org.apache.activemq.artemis.core.journal.impl.JournalImpl$9.run()V JournalImpl.java:1310
#4 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Runnable;)V OrderedExecutor.java:42
#5 org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(Ljava/lang/Object;)V OrderedExecutor.java:31
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks()V ProcessorBase.java:66
#7 org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$185.run()V ??
#8 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#9 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#10 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#11 (Generated Stub) <null>
Thread T59 (tid=706, running) created by thread T55 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZLorg/apache/activemq/artemis/core/journal/IOCompletion;Z)V JournalImpl.java:1307
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JZ)V JournalBase.java:60
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JZ)V JournalImpl.java:93
#11 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(J)V AbstractJournalStorageManager.java:659
#12 org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z SimpleAddressManager.java:276
#13 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.internalAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Z)Z PostOfficeImpl.java:455
#14 org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z PostOfficeImpl.java:442
#15 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.addAddressInfo(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;)Z ActiveMQServerImpl.java:3274
#16 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activem ActiveMQServerImpl.java:3388
#17 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:3578
#18 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:1863
#19 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZJ)Ljava/lang/String; ActiveMQServerControlImpl.java:1137
#20 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1074
#21 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZIZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1028
#22 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZ)Ljava/lang/String; ActiveMQServerControlImpl.java:944
#23 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)V ActiveMQServerControlImpl.java:931
#24 (Generated Stub) <null>
#25 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#26 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#27 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#28 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#29 jdk.internal.reflect.GeneratedMethodAccessor9.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#30 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#31 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#32 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#33 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#34 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#35 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#36 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#37 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#38 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#39 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#40 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#41 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#42 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#43 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#44 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#45 (Generated Stub) <null>
#46 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#47 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#48 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#49 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#50 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#51 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#52 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#53 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#54 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#55 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#56 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#57 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#58 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$221.run()Ljava/lang/Object; ??
#59 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#60 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#61 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#62 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#63 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#64 java.lang.Thread.run()V Thread.java:835
#65 (Generated Stub) <null>
Thread T57 (tid=677, running) created by thread T55 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.execute(Ljava/lang/Runnable;)V ThreadPoolExecutor.java:1354
#5 org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(I)V ProcessorBase.java:205
#6 org.apache.activemq.artemis.utils.actors.ProcessorBase.task(Ljava/lang/Object;)V ProcessorBase.java:193
#7 org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(Ljava/lang/Runnable;)V OrderedExecutor.java:54
#8 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendAddRecord(JBLorg/apache/activemq/artemis/core/persistence/Persister;Ljava/lang/Object;ZLorg/apache/activemq/artemis/core/journal/IOCompletion;)V JournalImpl.java:845
#9 org.apache.activemq.artemis.core.journal.impl.JournalBase.appendAddRecord(JBLorg/apache/activemq/artemis/core/persistence/Persister;Ljava/lang/Object;Z)V JournalBase.java:49
#10 org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendAddRecord(JBLorg/apache/activemq/artemis/core/persistence/Persister;Ljava/lang/Object;Z)V JournalImpl.java:93
#11 (Unknown Method) <null>
#12 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.storeID(JJ)V AbstractJournalStorageManager.java:805
#13 org.apache.activemq.artemis.core.persistence.impl.journal.BatchingIDGenerator.storeID(JJ)V BatchingIDGenerator.java:147
#14 org.apache.activemq.artemis.core.persistence.impl.journal.BatchingIDGenerator.saveCheckPoint(J)V BatchingIDGenerator.java:132
#15 org.apache.activemq.artemis.core.persistence.impl.journal.BatchingIDGenerator.generateID()J BatchingIDGenerator.java:111
#16 org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.generateID()J AbstractJournalStorageManager.java:334
#17 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/core/server/impl/AddressInfo;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activem ActiveMQServerImpl.java:3370
#18 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:3578
#19 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemis/api/core/RoutingType;Lorg/apache/activemq/artemis/api/core/SimpleString;Lorg/apache/activemq/artemi ActiveMQServerImpl.java:1863
#20 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZJ)Ljava/lang/String; ActiveMQServerControlImpl.java:1137
#21 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZILjava/lang/String;ZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1074
#22 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZZIZLjava/lang/String;ZIJZJJZ)Ljava/lang/String; ActiveMQServerControlImpl.java:1028
#23 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZ)Ljava/lang/String; ActiveMQServerControlImpl.java:944
#24 org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.createQueue(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)V ActiveMQServerControlImpl.java:931
#25 (Generated Stub) <null>
#26 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#27 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#28 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#29 sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:71
#30 jdk.internal.reflect.GeneratedMethodAccessor9.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ??
#31 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#32 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#33 sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; MethodUtil.java:260
#34 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:112
#35 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; StandardMBeanIntrospector.java:46
#36 com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; MBeanIntrospector.java:237
#37 com.sun.jmx.mbeanserver.PerInterface.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; PerInterface.java:138
#38 com.sun.jmx.mbeanserver.MBeanSupport.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; MBeanSupport.java:252
#39 javax.management.StandardMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; StandardMBean.java:405
#40 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; DefaultMBeanServerInterceptor.java:809
#41 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; JmxMBeanServer.java:801
#42 javax.management.remote.rmi.RMIConnectionImpl.doOperation(I[Ljava/lang/Object;)Ljava/lang/Object; RMIConnectionImpl.java:1466
#43 javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run()Ljava/lang/Object; RMIConnectionImpl.java:1307
#44 javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(I[Ljava/lang/Object;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:1399
#45 javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;Ljava/rmi/MarshalledObject;[Ljava/lang/String;Ljavax/security/auth/Subject;)Ljava/lang/Object; RMIConnectionImpl.java:827
#46 (Generated Stub) <null>
#47 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#48 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#49 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#50 sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V UnicastServerRef.java:359
#51 sun.rmi.transport.Transport$1.run()Ljava/lang/Void; Transport.java:200
#52 sun.rmi.transport.Transport$1.run()Ljava/lang/Object; Transport.java:197
#53 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:783
#54 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:690
#55 sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z Transport.java:196
#56 sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V TCPTransport.java:562
#57 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V TCPTransport.java:796
#58 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0()Ljava/lang/Void; TCPTransport.java:677
#59 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$221.run()Ljava/lang/Object; ??
#60 java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object; AccessController.java:752
#61 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; AccessController.java:391
#62 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V TCPTransport.java:676
#63 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#64 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#65 java.lang.Thread.run()V Thread.java:835
#66 (Generated Stub) <null>
SUMMARY: ThreadSanitizer: data race ReentrantReadWriteLock.java:480 in java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryAcquireShared(I)I
==================
==================
WARNING: ThreadSanitizer: data race (pid=29163)
Read of size 4 at 0x00009de40b00 by thread T25:
#0 org.apache.activemq.artemis.utils.critical.CriticalComponentImpl.isExpired(J)Z CriticalComponentImpl.java:67
#1 org.apache.activemq.artemis.utils.critical.CriticalAnalyzerImpl.check()V CriticalAnalyzerImpl.java:139
#2 org.apache.activemq.artemis.utils.critical.CriticalAnalyzerImpl$1.run()V CriticalAnalyzerImpl.java:53
#3 org.apache.activemq.artemis.core.server.ActiveMQScheduledComponent$2.run()V ActiveMQScheduledComponent.java:306
#4 org.apache.activemq.artemis.core.server.ActiveMQScheduledComponent$3.run()V ActiveMQScheduledComponent.java:316
#5 java.util.concurrent.Executors$RunnableAdapter.call()Ljava/lang/Object; Executors.java:515
#6 java.util.concurrent.FutureTask.runAndReset()Z FutureTask.java:305
#7 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run()V ScheduledThreadPoolExecutor.java:305
#8 java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V ThreadPoolExecutor.java:1128
#9 java.util.concurrent.ThreadPoolExecutor$Worker.run()V ThreadPoolExecutor.java:628
#10 org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run()V ActiveMQThreadFactory.java:118
#11 (Generated Stub) <null>
Previous write of size 4 at 0x00009de40b00 by thread T1:
[failed to restore the stack]
Thread T25 (tid=29356, running) created by thread T1 at:
#0 pthread_create <null> (java+0x464e4d)
#1 os::create_thread(Thread*, os::ThreadType, unsigned long) /home/jdanek/repos/jdk-tsan/src/hotspot/os/linux/os_linux.cpp:774:15 (libjvm.so+0xb2563d)
#2 java.lang.Thread.start()V Thread.java:804
#3 java.util.concurrent.ThreadPoolExecutor.addWorker(Ljava/lang/Runnable;Z)Z ThreadPoolExecutor.java:937
#4 java.util.concurrent.ThreadPoolExecutor.ensurePrestart()V ThreadPoolExecutor.java:1583
#5 java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(Ljava/util/concurrent/RunnableScheduledFuture;)V ScheduledThreadPoolExecutor.java:346
#6 java.util.concurrent.ScheduledThreadPoolExecutor.scheduleWithFixedDelay(Ljava/lang/Runnable;JJLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture; ScheduledThreadPoolExecutor.java:680
#7 org.apache.activemq.artemis.core.server.ActiveMQScheduledComponent.start()V ActiveMQScheduledComponent.java:171
#8 org.apache.activemq.artemis.utils.critical.CriticalAnalyzerImpl.start()V CriticalAnalyzerImpl.java:166
#9 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initializeCriticalAnalyzer()V ActiveMQServerImpl.java:667
#10 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.internalStart()V ActiveMQServerImpl.java:561
#11 org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.start()V ActiveMQServerImpl.java:528
#12 org.apache.activemq.artemis.integration.FileBroker.start()V FileBroker.java:70
#13 org.apache.activemq.artemis.cli.commands.Run.execute(Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Run.java:84
#14 org.apache.activemq.artemis.cli.Artemis.internalExecute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;Lorg/apache/activemq/artemis/cli/commands/ActionContext;)Ljava/lang/Object; Artemis.java:150
#15 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;Lorg/apache/activemq/artemis/cli/commands/ActionContext;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:98
#16 org.apache.activemq.artemis.cli.Artemis.execute(ZLjava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:125
#17 (Generated Stub) <null>
#18 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; NativeMethodAccessorImpl.java:62
#19 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; DelegatingMethodAccessorImpl.java:43
#20 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; Method.java:567
#21 org.apache.activemq.artemis.boot.Artemis.execute(Ljava/io/File;Ljava/io/File;[Ljava/lang/String;)Ljava/lang/Object; Artemis.java:129
#22 org.apache.activemq.artemis.boot.Artemis.main([Ljava/lang/String;)V Artemis.java:49
#23 (Generated Stub) <null>
Thread T1 (tid=29177, running) created by main thread at:
#0 pthread_create <null> (java+0x464e4d)
#1 CallJavaMainInNewThread /home/jdanek/repos/jdk-tsan/src/java.base/unix/native/libjli/java_md_solinux.c:769:9 (libjli.so+0x9b7a)
SUMMARY: ThreadSanitizer: data race CriticalComponentImpl.java:67 in org.apache.activemq.artemis.utils.critical.CriticalComponentImpl.isExpired(J)Z
==================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment