-
Notifications
You must be signed in to change notification settings - Fork 318
Use JDK11 to build javadoc of the internal-api-9 module #6817
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use JDK11 to build javadoc of the internal-api-9 module #6817
Conversation
8515eb5 to
a329036
Compare
|
|
||
| java { | ||
| toolchain { | ||
| languageVersion = JavaLanguageVersion.of(11) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure what the effect of this is in the build. Will this still produce bytecode compatible with JDK 9?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually it produces JDK8 byte code as per:
[JavaCompile, GroovyCompile].each {
tasks.withType(it).configureEach {
setJavaVersion(it, 11)
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
}
Just tested it locally (to be sure):
public class datadog/trace/util/stacktrace/JDK9StackWalker extends datadog/trace/util/stacktrace/AbstractStackWalker {
<ClassVersion=52>
<SourceFile=JDK9StackWalker.java>
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 51 metrics, 12 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.32.0-SNAPSHOT~a329036264, baseline=1.32.0-SNAPSHOT~6d2f2adf41
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.089 s) : 0, 1088764
Total [baseline] (9.213 s) : 0, 9212890
Agent [candidate] (1.082 s) : 0, 1082090
Total [candidate] (9.158 s) : 0, 9158435
section appsec
Agent [baseline] (1.212 s) : 0, 1211663
Total [baseline] (9.343 s) : 0, 9343088
Agent [candidate] (1.202 s) : 0, 1201695
Total [candidate] (9.291 s) : 0, 9290703
section iast
Agent [baseline] (1.208 s) : 0, 1208047
Total [baseline] (9.349 s) : 0, 9349027
Agent [candidate] (1.216 s) : 0, 1215582
Total [candidate] (9.369 s) : 0, 9369442
section profiling
Agent [baseline] (1.282 s) : 0, 1281520
Total [baseline] (9.434 s) : 0, 9433996
Agent [candidate] (1.278 s) : 0, 1277902
Total [candidate] (9.455 s) : 0, 9454732
gantt
title petclinic - break down per module: candidate=1.32.0-SNAPSHOT~a329036264, baseline=1.32.0-SNAPSHOT~6d2f2adf41
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (702.484 ms) : 0, 702484
BytebuddyAgent [candidate] (697.035 ms) : 0, 697035
GlobalTracer [baseline] (293.919 ms) : 0, 293919
GlobalTracer [candidate] (293.034 ms) : 0, 293034
AppSec [baseline] (49.253 ms) : 0, 49253
AppSec [candidate] (49.185 ms) : 0, 49185
Remote Config [baseline] (744.89 µs) : 0, 745
Remote Config [candidate] (739.91 µs) : 0, 740
Telemetry [baseline] (7.755 ms) : 0, 7755
Telemetry [candidate] (7.844 ms) : 0, 7844
section appsec
BytebuddyAgent [baseline] (702.828 ms) : 0, 702828
BytebuddyAgent [candidate] (696.639 ms) : 0, 696639
GlobalTracer [baseline] (294.239 ms) : 0, 294239
GlobalTracer [candidate] (292.245 ms) : 0, 292245
AppSec [baseline] (154.308 ms) : 0, 154308
AppSec [candidate] (153.227 ms) : 0, 153227
IAST [baseline] (18.04 ms) : 0, 18040
IAST [candidate] (17.773 ms) : 0, 17773
Remote Config [baseline] (613.385 µs) : 0, 613
Remote Config [candidate] (602.236 µs) : 0, 602
Telemetry [baseline] (6.954 ms) : 0, 6954
Telemetry [candidate] (6.855 ms) : 0, 6855
section iast
BytebuddyAgent [baseline] (802.619 ms) : 0, 802619
BytebuddyAgent [candidate] (808.05 ms) : 0, 808050
GlobalTracer [baseline] (289.168 ms) : 0, 289168
GlobalTracer [candidate] (291.538 ms) : 0, 291538
AppSec [baseline] (46.76 ms) : 0, 46760
AppSec [candidate] (48.857 ms) : 0, 48857
IAST [baseline] (27.928 ms) : 0, 27928
IAST [candidate] (23.096 ms) : 0, 23096
Remote Config [baseline] (609.846 µs) : 0, 610
Remote Config [candidate] (607.304 µs) : 0, 607
Telemetry [baseline] (6.527 ms) : 0, 6527
Telemetry [candidate] (8.873 ms) : 0, 8873
section profiling
BytebuddyAgent [baseline] (693.178 ms) : 0, 693178
BytebuddyAgent [candidate] (691.253 ms) : 0, 691253
GlobalTracer [baseline] (378.577 ms) : 0, 378577
GlobalTracer [candidate] (377.629 ms) : 0, 377629
AppSec [baseline] (49.896 ms) : 0, 49896
AppSec [candidate] (49.912 ms) : 0, 49912
Remote Config [baseline] (828.092 µs) : 0, 828
Remote Config [candidate] (777.631 µs) : 0, 778
Telemetry [baseline] (7.412 ms) : 0, 7412
Telemetry [candidate] (7.527 ms) : 0, 7527
ProfilingAgent [baseline] (95.366 ms) : 0, 95366
ProfilingAgent [candidate] (94.471 ms) : 0, 94471
Profiling [baseline] (95.389 ms) : 0, 95389
Profiling [candidate] (94.495 ms) : 0, 94495
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.32.0-SNAPSHOT~a329036264, baseline=1.32.0-SNAPSHOT~6d2f2adf41
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.08 s) : 0, 1080453
Total [baseline] (8.566 s) : 0, 8565697
Agent [candidate] (1.081 s) : 0, 1081022
Total [candidate] (8.562 s) : 0, 8562389
section iast
Agent [baseline] (1.211 s) : 0, 1210838
Total [baseline] (9.057 s) : 0, 9057173
Agent [candidate] (1.206 s) : 0, 1205751
Total [candidate] (9.055 s) : 0, 9054595
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.206 s) : 0, 1206423
Total [baseline] (9.035 s) : 0, 9035203
Agent [candidate] (1.215 s) : 0, 1215338
Total [candidate] (9.042 s) : 0, 9041916
section iast_TELEMETRY_OFF
Agent [baseline] (1.199 s) : 0, 1199343
Total [baseline] (9.062 s) : 0, 9062248
Agent [candidate] (1.2 s) : 0, 1200134
Total [candidate] (9.055 s) : 0, 9055029
gantt
title insecure-bank - break down per module: candidate=1.32.0-SNAPSHOT~a329036264, baseline=1.32.0-SNAPSHOT~6d2f2adf41
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (696.894 ms) : 0, 696894
BytebuddyAgent [candidate] (696.729 ms) : 0, 696729
GlobalTracer [baseline] (291.99 ms) : 0, 291990
GlobalTracer [candidate] (292.449 ms) : 0, 292449
AppSec [baseline] (48.784 ms) : 0, 48784
AppSec [candidate] (48.917 ms) : 0, 48917
Remote Config [baseline] (741.049 µs) : 0, 741
Remote Config [candidate] (731.14 µs) : 0, 731
Telemetry [baseline] (7.768 ms) : 0, 7768
Telemetry [candidate] (7.852 ms) : 0, 7852
section iast
BytebuddyAgent [baseline] (805.029 ms) : 0, 805029
BytebuddyAgent [candidate] (801.231 ms) : 0, 801231
GlobalTracer [baseline] (289.998 ms) : 0, 289998
GlobalTracer [candidate] (289.016 ms) : 0, 289016
AppSec [baseline] (50.216 ms) : 0, 50216
AppSec [candidate] (50.117 ms) : 0, 50117
IAST [baseline] (23.09 ms) : 0, 23090
IAST [candidate] (23.787 ms) : 0, 23787
Remote Config [baseline] (599.983 µs) : 0, 600
Remote Config [candidate] (600.566 µs) : 0, 601
Telemetry [baseline] (7.37 ms) : 0, 7370
Telemetry [candidate] (6.609 ms) : 0, 6609
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (801.465 ms) : 0, 801465
BytebuddyAgent [candidate] (807.439 ms) : 0, 807439
GlobalTracer [baseline] (289.118 ms) : 0, 289118
GlobalTracer [candidate] (291.445 ms) : 0, 291445
AppSec [baseline] (47.92 ms) : 0, 47920
AppSec [candidate] (49.619 ms) : 0, 49619
IAST [baseline] (26.349 ms) : 0, 26349
IAST [candidate] (24.963 ms) : 0, 24963
Remote Config [baseline] (603.315 µs) : 0, 603
Remote Config [candidate] (613.391 µs) : 0, 613
Telemetry [baseline] (6.609 ms) : 0, 6609
Telemetry [candidate] (6.606 ms) : 0, 6606
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (794.091 ms) : 0, 794091
BytebuddyAgent [candidate] (793.993 ms) : 0, 793993
GlobalTracer [baseline] (289.695 ms) : 0, 289695
GlobalTracer [candidate] (290.257 ms) : 0, 290257
AppSec [baseline] (52.332 ms) : 0, 52332
AppSec [candidate] (49.671 ms) : 0, 49671
IAST [baseline] (21.609 ms) : 0, 21609
IAST [candidate] (23.2 ms) : 0, 23200
Remote Config [baseline] (572.865 µs) : 0, 573
Remote Config [candidate] (576.36 µs) : 0, 576
Telemetry [baseline] (6.58 ms) : 0, 6580
Telemetry [candidate] (8.033 ms) : 0, 8033
LoadRequest duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.32.0-SNAPSHOT~a329036264, baseline=1.32.0-SNAPSHOT~6d2f2adf41
dateFormat X
axisFormat %s
section baseline
no_agent (1.358 ms) : 1339, 1377
. : milestone, 1358,
appsec (1.783 ms) : 1759, 1807
. : milestone, 1783,
iast (1.567 ms) : 1543, 1591
. : milestone, 1567,
profiling (1.593 ms) : 1568, 1618
. : milestone, 1593,
tracing (1.522 ms) : 1499, 1545
. : milestone, 1522,
section candidate
no_agent (1.352 ms) : 1333, 1371
. : milestone, 1352,
appsec (1.797 ms) : 1773, 1821
. : milestone, 1797,
iast (1.546 ms) : 1523, 1569
. : milestone, 1546,
profiling (1.51 ms) : 1486, 1534
. : milestone, 1510,
tracing (1.517 ms) : 1495, 1540
. : milestone, 1517,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.32.0-SNAPSHOT~a329036264, baseline=1.32.0-SNAPSHOT~6d2f2adf41
dateFormat X
axisFormat %s
section baseline
no_agent (367.462 µs) : 348, 387
. : milestone, 367,
iast (479.48 µs) : 459, 500
. : milestone, 479,
iast_FULL (541.705 µs) : 521, 562
. : milestone, 542,
iast_GLOBAL (498.6 µs) : 477, 520
. : milestone, 499,
iast_HARDCODED_SECRET_DISABLED (481.292 µs) : 461, 502
. : milestone, 481,
iast_INACTIVE (451.451 µs) : 431, 472
. : milestone, 451,
iast_TELEMETRY_OFF (478.513 µs) : 458, 499
. : milestone, 479,
tracing (450.281 µs) : 429, 471
. : milestone, 450,
section candidate
no_agent (373.178 µs) : 352, 394
. : milestone, 373,
iast (477.557 µs) : 457, 498
. : milestone, 478,
iast_FULL (544.21 µs) : 524, 565
. : milestone, 544,
iast_GLOBAL (497.994 µs) : 477, 519
. : milestone, 498,
iast_HARDCODED_SECRET_DISABLED (484.252 µs) : 463, 505
. : milestone, 484,
iast_INACTIVE (451.301 µs) : 431, 472
. : milestone, 451,
iast_TELEMETRY_OFF (472.973 µs) : 452, 494
. : milestone, 473,
tracing (450.087 µs) : 429, 471
. : milestone, 450,
|
What Does This Do
Removes the error during the assemble of the
internal-api-9module due to using the wrong JDK to build the JavaDoc documentation.