Commit Graph

3674 Commits

Author SHA1 Message Date
Michael André Pearce c1d55aa84f ARTEMIS-1156: FIX: Long Autoboxing occurring on Hot Path
Building on ARTEMIS-905 JCtools ConcurrentMap replacement  first proposed but currently parked by @franz1981, replace the collections with primitive key concurrent collections to avoid auto boxing.

The goal of this is to reduce/remove autoboxing on the hot path.
We are just adding jctools to the broker (should not be in client dependencies)
Like wise targeting specific use case with specific implementation rather than a blanket replace all.

Using collections from Bookkeeper, reduces outside tlab allocation, on resizing compared to JCTools, which occurs frequently on testing.
2017-05-12 10:05:51 -04:00
Clebert Suconic b7b79e5dfd This closes #1266 2017-05-11 16:52:03 -04:00
Timothy Bish 4ad78c7fd0 ARTEMIS-1159 Fixes and Improvements to the AMQP test client.
Port fixes to the AMQP test client recently made in the 5.x version.
Fixes some thread safety issues in the Transport.  Ensures more 
timely shutdown of the Connection executor.  Uses a dynamic Proxy 
to generate Read-Only Proton wrappers instead of the hand crafted 
versions.  Adds additional logging for test data
2017-05-11 16:46:22 -04:00
Justin Bertram a98dccb35d This closes #1264 2017-05-11 12:17:06 -05:00
Clebert Suconic f328c24b94 ARTEMIS-1155 SequentialFiles leaking on JDBCSequentialFileFactory 2017-05-11 12:17:06 -05:00
Andy Taylor ec49c4310b This closes #1265 ARTEMIS-1154 tweak logic to support previous semantics 2017-05-11 16:56:22 +01:00
Justin Bertram 88e185d2b9 ARTEMIS-1154 tweak logic to support previous semantics 2017-05-11 09:54:28 -05:00
Clebert Suconic 02dcfe0468 ARTEMIS-1158 exposing Netty.channelID properly 2017-05-10 21:50:19 -04:00
Clebert Suconic ab6806c38b This closes #1260 2017-05-09 16:40:54 -04:00
Justin Bertram 5cb5c8a6dc ARTEMIS-1154 isolated backup fails over
Even if there is no address/url configured for the NetworkHealthCheck
an isolated backup will still fail-over potentially causing split-brain.
2017-05-09 14:43:17 -05:00
Clebert Suconic 80e4c09435 This closes #1259 2017-05-09 10:41:28 -04:00
Timothy Bish 6f34622cd9 ARTEMIS-1153 Adds new .NET client example for durable subscriptions
Adds an example for managing durable subscriptions using the .NET
AmqpNetLite client that subscribes, looks up and removes a durable topic
subscription.
2017-05-08 18:39:00 -04:00
Clebert Suconic ce61d20f5a [maven-release-plugin] prepare for next development iteration 2017-05-08 15:20:12 -04:00
Clebert Suconic 64e8f015ee [maven-release-plugin] prepare release 2.1.0 2017-05-08 15:20:01 -04:00
Clebert Suconic b9518085e1 NO-JIRA: small update on Releasing procedure 2017-05-08 14:52:27 -04:00
Clebert Suconic c53f6168c9 ARTEMIS-898 Documenting where to add the plugin jar 2017-05-08 14:52:27 -04:00
Clebert Suconic 890e381371 NO-JIRA: bumping 2.2.0-SNAPSHOT release on extra-tests 2017-05-08 12:06:18 -04:00
Clebert Suconic bf9401b59d This closes #1258 2017-05-08 12:03:06 -04:00
Christopher L. Shannon (cshannon) 3bfbaf419c ARTEMIS-898 - Adding documentation for Plugin support
Started a new chapter in the user manual for plugin support
2017-05-08 12:03:05 -04:00
Clebert Suconic 117d92bc94 This closes #1257 2017-05-08 11:59:41 -04:00
Christopher L. Shannon (cshannon) 9fdba8292f ARTEMIS-898 - Adding support for XML configuration of Broker Plugins
Broker plugins can now be added to the broker through XML config.
2017-05-08 11:59:41 -04:00
Clebert Suconic 6984d39a99 This closes #1256 2017-05-08 11:57:41 -04:00
Francesco Nigro 21c9ed85cf ARTEMIS-1151 Adapting TimedBuffer and NIO Buffer Pooling
- NIO/ASYNCIO new TimedBuffer with adapting batch window heuristic
- NIO/ASYNCIO improved TimedBuffer write monitoring with
  lightweight concurrent performance counters
- NIO/ASYNCIO journal/paging operations benefit from less buffer copy
- NIO/ASYNCIO any buffer copy is always performed with raw batch copy
  using SIMD instrinsics (System::arrayCopy) or memcpy under the hood
- NIO improved clear buffers using SIMD instrinsics (Arrays::fill) and/or memset
- NIO journal operation perform by default TLABs allocation pooling (off heap)
  retaining only the last max sized buffer
- NIO improved file copy operations using zero-copy FileChannel::transfertTo
- NIO improved zeroing using pooled single OS page buffer to clean the file
  + pwrite (on Linux)
- NIO deterministic release of unpooled direct buffers to avoid OOM errors
  due to slow GC
- Exposed OS PAGE SIZE value using Env class
2017-05-08 11:55:28 -04:00
Clebert Suconic 36c9659279 [maven-release-plugin] prepare for next development iteration 2017-05-05 22:11:09 -04:00
Clebert Suconic 7b5082639f [maven-release-plugin] prepare release 2.1.0 2017-05-05 22:10:58 -04:00
Clebert Suconic c084717bf7 [ARTEMIS-1141] Allowing release to process on features/verify
maven release wouldn't complete as it would need to
download the new release before it was even ready.
Setting the phase to install fixed the issue.
2017-05-05 21:28:41 -04:00
Clebert Suconic 7c96ab6bd7 ARTEMIS-1150 fixing logging with spaces on windows service 2017-05-05 18:01:33 -04:00
Clebert Suconic a915e8b904 ARTEMIS-1150 Fixing logging with spaces 2017-05-05 16:08:30 -04:00
Timothy Bish 0711b35e3c NO-JIRA Fix a test that is not actually testing anything right now
The test is improperly configured and the try / catch logic swallows any
errors making it seem as if the test is passing.
2017-05-05 16:05:04 -04:00
Clebert Suconic c253aa65bf NO-JIRA: Trivial fix for Artemis class, reported by coverity.com 2017-05-05 14:55:57 -04:00
Clebert Suconic a5ea22e8a5 This closes #1255 2017-05-05 14:49:47 -04:00
dOkI 18bc7e1a2e ARTEMIS-874: ThreadGroup memory leak 2017-05-05 14:49:47 -04:00
Clebert Suconic 4f22a56066 NO-JIRA Trivial test fix 2017-05-05 14:45:21 -04:00
Clebert Suconic d11b622f12 This closes #1249 2017-05-05 09:46:58 -04:00
Clebert Suconic b94a09feb6 ARTEMIS-1144 Changing jetty logger to warn only 2017-05-05 09:46:27 -04:00
James Perkins b1e4204a10 ARTEMIS-1144 Use the org.jboss.slf4j:slf4j-jboss-logmanager binding
to allow slf4j to bind to the jboss-logmanager/jul
2017-05-05 09:46:04 -04:00
Guillaume Nodet f46fa8b927 [ARTEMIS-1141] Fix some OSGi metadata issues 2017-05-05 08:18:39 +02:00
Clebert Suconic 955bba7ed0 This closes #1253 2017-05-04 22:05:54 -04:00
Clebert Suconic 92c84a1699 ARTEMIS-904 Fixing server running 2017-05-04 21:42:40 -04:00
Clebert Suconic 800976ec76 NO-JIRA: Trivial test fix on StompPluginTest 2017-05-04 15:58:15 -04:00
Justin Bertram b9e7e7ed9d This closes #1231 2017-05-04 10:36:22 -05:00
Bennet Schulz f82623a20c ARTEMIS-904 Remove cyclic dependencies from artemis-cli
move classes and methods to their correct location to avoid cyclic dependencies between packages and classes.

ARTEMIS-904 Remove cyclic dependencies from artemis-cli

move classes and methods to their correct location to avoid cyclic dependencies between packages and classes.

ARTEMIS-904 Remove cyclic dependencies from artemis-cli

move classes and methods to their correct location to avoid cyclic dependencies between packages and classes.
2017-05-04 10:25:06 -05:00
Justin Bertram eeca06d259 This closes #1252 2017-05-04 10:21:16 -05:00
Arthur Baars 7648b6fd9d Remove dangling git-link
The empty folder artemis-server/artemis-load-generator seems to be a
git submodule link. However, there is no submodule configuratation
file (ie .gitmodules) in this repository.

This caused the 'git submodule' command to fail with the following
error message:
fatal: no submodule mapping found in .gitmodules for path 'artemis-server/artemis-load-generator'
2017-05-04 10:21:15 -05:00
Justin Bertram fe7bbba481 This closes #1250 2017-05-04 10:19:49 -05:00
Bernd Gutjahr 7aa50546b3 ARTEMIS-1112: Fixed occasionally failing test
There was a typo in this test that could cause it to fail.
2017-05-04 11:18:56 +02:00
Guillaume Nodet e372c0a767 [ARTEMIS-1141] Fix some OSGi metadata issues
- do not export io.netty packages
  - import those packages with a correct import range
2017-05-04 09:28:07 +02:00
Clebert Suconic 2d7dbc501c This closes #1246 2017-05-03 16:40:16 -04:00
Bernd Gutjahr 6017e305d9 ARTEMIS-1112: Added wait-for-activation option to shared-store-master config
Added a wait-for-activation option to shared-store master HA policies.
This option is enabled by default to ensure unchanged server startup behavior.

If this option is enabled, ActiveMQServer.start() with a shared-store master server will not return
before the server has been activated.
If this options is disabled, start() will return after a background activation thread has been started.
The caller can use waitForActivation() to wait until server is activated, or just check the current activation status.
2017-05-03 16:40:15 -04:00
Clebert Suconic cdaae1578b This closes #1248 2017-05-03 16:33:12 -04:00