Commit Graph

118 Commits

Author SHA1 Message Date
Nikolay Martynov 6beade83ed Disable Java7 JIT for for some code
Disable JIT in Java7 for 1 Bytebuddy method. Hopefully this will help
with this error:

```
Stack: [0x00007f892f079000,0x00007f892f17a000],  sp=0x00007f892f174e30,  free space=1007k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x73db30]  PhaseIdealLoop::build_loop_late_post(Node*)+0x130
V  [libjvm.so+0x73e06b]  PhaseIdealLoop::build_loop_late(VectorSet&, Node_List&, Node_Stack&)+0x10b
V  [libjvm.so+0x745239]  PhaseIdealLoop::build_and_optimize(bool, bool)+0x899
V  [libjvm.so+0x4589b0]  Compile::Optimize()+0x8f0
V  [libjvm.so+0x459e87]  Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool)+0x10c7
V  [libjvm.so+0x3c9c5c]  C2Compiler::compile_method(ciEnv*, ciMethod*, int)+0xec
V  [libjvm.so+0x45f5bb]  CompileBroker::invoke_compiler_on_method(CompileTask*)+0x32b
V  [libjvm.so+0x460960]  CompileBroker::compiler_thread_loop()+0x440
V  [libjvm.so+0x9283ab]  JavaThread::thread_main_inner()+0xdb
V  [libjvm.so+0x928590]  JavaThread::run()+0x1d0
V  [libjvm.so+0x7f56e2]  java_start(Thread*)+0x122

Current CompileTask:
C2:   3653  733
net.bytebuddy.description.type.TypeDescription$Generic$Visitor$Substitutor::onParameterizedType (129
bytes)
```
2019-02-05 09:40:43 -05:00
Tyler Benson 0a89074f60
Merge pull request #653 from marcoferrer/instrument-kt-coroutine-scheduler
Add support for instrumenting kotlin coroutine schedulers
2019-01-22 10:31:32 -08:00
Marco Ferrer cd75bbecd1
Update test-with-kotlin.gradle 2019-01-22 11:38:46 -05:00
Marco Ferrer 7819430620 add mavenCentral to plugin repos 2019-01-21 12:26:46 -05:00
Tyler Benson a620983fb1 Upgrade jackson to 2.9.8
There is a vulerability in prior versions, per the following CVE: https://nvd.nist.gov/vuln/detail/CVE-2018-1000873
2019-01-14 14:46:59 -05:00
Andrew Kent 9d1dd4e194 Add smoketest README and move random port to common util 2019-01-10 11:44:33 -08:00
Marco Ferrer a31abc67e9 add support for instrumenting kotlin coroutine schedulers 2019-01-09 19:04:42 -05:00
Tyler Benson c18b299606 Also exclude test coverage from instrumentation 2019-01-04 15:25:36 -08:00
Tyler Benson 6d7415fed2 Don’t run coverage on projects that use shadow
It was breaking on dd-java-agent where it has duplicate classes across different jars.  These projects are excluding everything anyway.
2019-01-04 15:25:36 -08:00
Andrew Kent 13fdb08a51 Remove errorprone 2018-12-19 12:39:36 -08:00
Andrew Kent 34e866ef2b make error-prone opt-in 2018-12-19 12:37:47 -08:00
Tyler Benson cb7d3bb6c6 System-rules to 1.19.0 2018-11-30 10:11:48 -08:00
Tyler Benson 983077d150 Move mock/assert deps out of common dependencies 2018-11-30 10:02:26 -08:00
Tyler Benson 272a2ace39 Lombok to 1.8.4 2018-11-30 09:40:05 -08:00
Tyler Benson c020f46906 Byte Buddy to 1.9.5 2018-11-30 09:36:31 -08:00
Nikolay Martynov 118a61cc67 Add field backed context provider 2018-11-29 15:18:46 -08:00
Nikolay Martynov ed5692871d Properly limit heap size for gradle child processes 2018-11-23 09:44:50 -05:00
Tyler Benson 5e194ef06c Fix latestDepTests for Kafka Streams, Netty, and Okhttp 2018-11-12 08:15:24 -08:00
Tyler Benson 9bd2b86d2e Add assertion to ensure latestDepTest dependencies are different from test. 2018-11-12 08:15:24 -08:00
Nikolay Martynov b8276ac70b Specify Scala dependency in single place 2018-11-05 12:55:32 -05:00
Tyler Benson 91f514b01d Upgrade Byte Buddy to 1.9.3 2018-11-02 09:12:09 +10:00
Nikolay Martynov aa63c52063 Update Gradle plugin versions 2018-10-26 09:47:56 -04:00
Nikolay Martynov 14e85941c0
Merge pull request #547 from DataDog/mar-kolya/weak-concurrent-map-thread-cleanup
Mar kolya/weak concurrent map thread cleanup
2018-10-23 18:12:24 -04:00
Tyler Benson aef0a48ac1
Merge pull request #541 from DataDog/tyler/remove-signing
Remove PGP signing from publish task
2018-10-24 07:18:11 +10:00
Tyler Benson c80d549e46 Attempt to increase worker count to improve build time.
The build scans are especially slow.
2018-10-23 18:03:09 +10:00
Tyler Benson 0b55212473 Remove PGP signing from publish task 2018-10-23 08:43:10 +10:00
Tyler Benson 0f02264e50 Upgrade Byte Buddy to 1.9.2 2018-10-22 10:41:10 +10:00
Tyler Benson 8ffeb5bedf Add instrumentation for RabbitMQ’s AMQP library 2018-10-17 16:32:24 +10:00
Nikolay Martynov f71192266c Rework the way multi-jvm tests work
To allow some JVMs runs only subset of tests
2018-10-02 13:20:19 -04:00
Tyler Benson 335af8c5f1 Use final java 11 release and fix test excludes 2018-10-02 11:34:16 -04:00
Tyler Benson cf9f2483f1 Run tests on Java 11 2018-10-02 11:34:16 -04:00
Tyler Benson 6b8eb60ca2 Upgrade Byte Buddy to 1.9.0 2018-10-01 13:31:03 -04:00
Nikolay Martynov 6d5b06a292 Upgrade gradle to 4.10.2 2018-09-26 13:47:37 -04:00
Nikolay Martynov 44ea493f53 Download gradle source to make idea more helpful 2018-09-26 13:47:37 -04:00
Nikolay Martynov d48eb4de77 Decouple Groovy version from Gradle
And use newer Groovy and Spock
2018-09-26 13:47:34 -04:00
Tyler Benson e67011de5e Upgrade gradle to 4.10.1 2018-09-19 15:13:42 +10:00
Tyler Benson b4c8b7e538 Add @RetryOnFailure to ES tests. 2018-09-05 14:46:22 +10:00
Tyler Benson e07dfffe5f Migrate tests to new TestHttpServer 2018-08-16 14:23:58 +10:00
Tyler Benson b5c8a8b8fc Apply formatter on gradle files. 2018-07-31 12:04:00 +10:00
Nikolay Martynov f0747a4096 Remove outdated comments 2018-07-26 10:01:55 -04:00
Nikolay Martynov fcbba523d1 Remove `--add-opens` from java9/10 settings 2018-07-26 10:01:55 -04:00
Tyler Benson a4c20a0b37 Upgrade gradle version 2018-07-25 11:25:15 +10:00
Tyler Benson 6e4c03baaf Upgrade byte buddy version. 2018-07-25 11:25:15 +10:00
Nikolay Martynov bf0651e88b Make Jar build fail on duplicate files 2018-07-23 10:04:53 -04:00
Tyler Benson a34f7b849b Instrument gRPC
Adds spans for the duration of the connection and child spans for each message.
Also propagates the trace using the metadata object.
2018-07-20 12:25:04 +10:00
Tyler Benson 12a2fce96d Upgrade java formatter version. 2018-07-19 14:10:53 +10:00
Tyler Benson da2c54e8e8 Add test build for Java 10.
We still require `--add-opens java.base/jdk.internal.loader=ALL-UNNAMED` to be set.  Something we should look into fixing somehow.
2018-07-12 13:20:39 -04:00
Tyler Benson 17c2f28947 Upgrade to gradle 4.8.1 2018-06-26 10:33:35 +10:00
Tyler Benson 83db4e8c4d
Merge pull request #352 from DataDog/tyler/netty
Netty HTTP client and server instrumentation
2018-06-21 14:11:12 +10:00
Nikolay Martynov 9cc99bafbf Simplify Jacoco configuration 2018-06-20 17:13:30 -04:00