Skip to content

Commit e087011

Browse files
dependabot[bot]github-actions[bot]xiang17Copilot
authored
Bump the all-dependencies group across 1 directory with 13 updates (#4889)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Sean Li <xili9@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 005eed5 commit e087011

99 files changed

Lines changed: 1635 additions & 1841 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎agent/agent-bootstrap/gradle.lockfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# This file is expected to be part of source control.
44
# To regenerate this file, run: ./gradlew :agent:agent-bootstrap:dependencies --write-locks
55
com.azure:azure-sdk-bom:1.3.9=runtimeClasspath
6-
com.fasterxml.jackson:jackson-bom:2.22.3=runtimeClasspath
7-
io.netty:netty-bom:4.2.19.Final=runtimeClasspath
6+
com.fasterxml.jackson:jackson-bom:2.22.4=runtimeClasspath
7+
io.netty:netty-bom:4.2.20.Final=runtimeClasspath
88
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:2.32.0-alpha=runtimeClasspath
99
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:2.32.0=runtimeClasspath
1010
io.opentelemetry:opentelemetry-bom-alpha:1.66.0-alpha=runtimeClasspath

‎agent/agent-for-testing/gradle.lockfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# This file is expected to be part of source control.
44
# To regenerate this file, run: ./gradlew :agent:agent-for-testing:dependencies --write-locks
55
com.azure:azure-sdk-bom:1.3.9=runtimeClasspath
6-
com.fasterxml.jackson:jackson-bom:2.22.3=runtimeClasspath
7-
io.netty:netty-bom:4.2.19.Final=runtimeClasspath
6+
com.fasterxml.jackson:jackson-bom:2.22.4=runtimeClasspath
7+
io.netty:netty-bom:4.2.20.Final=runtimeClasspath
88
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:2.32.0-alpha=runtimeClasspath
99
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:2.32.0=runtimeClasspath
1010
io.opentelemetry:opentelemetry-bom-alpha:1.66.0-alpha=runtimeClasspath

‎agent/agent-gc-monitor/gc-monitor-api/gradle.lockfile‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
# This file is expected to be part of source control.
44
# To regenerate this file, run: ./gradlew :agent:agent-gc-monitor:gc-monitor-api:dependencies --write-locks
55
com.azure:azure-sdk-bom:1.3.9=runtimeClasspath
6-
com.fasterxml.jackson:jackson-bom:2.22.3=runtimeClasspath
7-
com.google.errorprone:error_prone_annotations:2.50.0=runtimeClasspath
8-
io.netty:netty-bom:4.2.19.Final=runtimeClasspath
6+
com.fasterxml.jackson:jackson-bom:2.22.4=runtimeClasspath
7+
com.google.errorprone:error_prone_annotations:2.52.0=runtimeClasspath
8+
io.netty:netty-bom:4.2.20.Final=runtimeClasspath
99
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:2.32.0-alpha=runtimeClasspath
1010
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:2.32.0=runtimeClasspath
1111
io.opentelemetry:opentelemetry-bom-alpha:1.66.0-alpha=runtimeClasspath

‎agent/agent-gc-monitor/gc-monitor-core/gradle.lockfile‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
# This file is expected to be part of source control.
44
# To regenerate this file, run: ./gradlew :agent:agent-gc-monitor:gc-monitor-core:dependencies --write-locks
55
com.azure:azure-sdk-bom:1.3.9=runtimeClasspath
6-
com.fasterxml.jackson:jackson-bom:2.22.3=runtimeClasspath
7-
com.google.errorprone:error_prone_annotations:2.50.0=runtimeClasspath
8-
io.netty:netty-bom:4.2.19.Final=runtimeClasspath
6+
com.fasterxml.jackson:jackson-bom:2.22.4=runtimeClasspath
7+
com.google.errorprone:error_prone_annotations:2.52.0=runtimeClasspath
8+
io.netty:netty-bom:4.2.20.Final=runtimeClasspath
99
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:2.32.0-alpha=runtimeClasspath
1010
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:2.32.0=runtimeClasspath
1111
io.opentelemetry:opentelemetry-bom-alpha:1.66.0-alpha=runtimeClasspath

‎agent/agent-gc-monitor/gc-monitor-core/src/main/java/com/microsoft/gcmonitor/JmxMemoryManagement.java‎

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,13 @@ protected JmxMemoryManagement monitorMxBeans(
8383
NotificationObserver observer = new NotificationObserver(executorService);
8484
observer.watchGcNotificationEvents();
8585
try {
86-
collectors.forEach(
87-
collector -> {
88-
try {
89-
connection.addNotificationListener(collector.getName(), observer, null, collector);
90-
} catch (Exception e) {
91-
throw new IllegalStateException(e);
92-
}
93-
});
86+
collectors.forEach(collector -> {
87+
try {
88+
connection.addNotificationListener(collector.getName(), observer, null, collector);
89+
} catch (Exception e) {
90+
throw new IllegalStateException(e);
91+
}
92+
});
9493
} catch (RuntimeException e) {
9594
throw new UnableToMonitorMemoryException(e);
9695
}

‎agent/agent-gc-monitor/gc-monitor-core/src/main/java/com/microsoft/gcmonitor/notifications/NotificationObserver.java‎

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -52,24 +52,23 @@ public void handleNotification(@Nullable Notification notification, Object handb
5252

5353
/** Start event loop that monitors for new notifications and processes them. */
5454
public void watchGcNotificationEvents() {
55-
executorService.submit(
56-
() -> {
55+
executorService.submit(() -> {
56+
try {
57+
//noinspection InfiniteLoopStatement
58+
while (true) {
5759
try {
58-
//noinspection InfiniteLoopStatement
59-
while (true) {
60-
try {
61-
NotificationJob sample = workQueue.poll(Long.MAX_VALUE, TimeUnit.SECONDS);
62-
if (sample != null) {
63-
sample.collector.update(sample.notification);
64-
}
65-
} catch (RuntimeException e) {
66-
logger.error("Error while reading GC notification data", e);
67-
}
60+
NotificationJob sample = workQueue.poll(Long.MAX_VALUE, TimeUnit.SECONDS);
61+
if (sample != null) {
62+
sample.collector.update(sample.notification);
6863
}
69-
} catch (InterruptedException e) {
70-
Thread.currentThread().interrupt();
71-
throw e;
64+
} catch (RuntimeException e) {
65+
logger.error("Error while reading GC notification data", e);
7266
}
73-
});
67+
}
68+
} catch (InterruptedException e) {
69+
Thread.currentThread().interrupt();
70+
throw e;
71+
}
72+
});
7473
}
7574
}

‎agent/agent-gc-monitor/gc-monitor-tests/gradle.lockfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# This file is expected to be part of source control.
44
# To regenerate this file, run: ./gradlew :agent:agent-gc-monitor:gc-monitor-tests:dependencies --write-locks
55
com.azure:azure-sdk-bom:1.3.9=runtimeClasspath
6-
com.fasterxml.jackson:jackson-bom:2.22.3=runtimeClasspath
7-
io.netty:netty-bom:4.2.19.Final=runtimeClasspath
6+
com.fasterxml.jackson:jackson-bom:2.22.4=runtimeClasspath
7+
io.netty:netty-bom:4.2.20.Final=runtimeClasspath
88
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:2.32.0-alpha=runtimeClasspath
99
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:2.32.0=runtimeClasspath
1010
io.opentelemetry:opentelemetry-bom-alpha:1.66.0-alpha=runtimeClasspath

‎agent/agent-gc-monitor/gc-monitor-tests/src/test/java/com/microsoft/gcmonitortests/VariousCollectorsTest.java‎

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -103,21 +103,20 @@ private static boolean isPresent(
103103
@SuppressWarnings({"SystemOut", "unused"}) // legitimate use of System.out for logging/output
104104
private static void print(List<GcCollectionEvent> events) {
105105
System.out.println("Obtained: " + events.size());
106-
events.forEach(
107-
event -> {
108-
Optional<MemoryPool> tenuredPool = event.getTenuredPool();
109-
if (tenuredPool.isPresent()) {
110-
System.out.println(
111-
new StringJoiner(",")
112-
.add(Long.toString(event.getId()))
113-
.add(event.getGcCause())
114-
.add(Long.toString(event.getDuration()))
115-
.add(Long.toString(event.getEndTime()))
116-
.add(event.getCollector().toString())
117-
.add(event.getGcAction())
118-
.add(Long.toString(event.getMemoryUsageBeforeGc(tenuredPool.get()).getUsed()))
119-
.add(Long.toString(event.getMemoryUsageAfterGc(tenuredPool.get()).getUsed())));
120-
}
121-
});
106+
events.forEach(event -> {
107+
Optional<MemoryPool> tenuredPool = event.getTenuredPool();
108+
if (tenuredPool.isPresent()) {
109+
System.out.println(
110+
new StringJoiner(",")
111+
.add(Long.toString(event.getId()))
112+
.add(event.getGcCause())
113+
.add(Long.toString(event.getDuration()))
114+
.add(Long.toString(event.getEndTime()))
115+
.add(event.getCollector().toString())
116+
.add(event.getGcAction())
117+
.add(Long.toString(event.getMemoryUsageBeforeGc(tenuredPool.get()).getUsed()))
118+
.add(Long.toString(event.getMemoryUsageAfterGc(tenuredPool.get()).getUsed())));
119+
}
120+
});
122121
}
123122
}

‎agent/agent-profiler/agent-alerting-api/gradle.lockfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# This file is expected to be part of source control.
44
# To regenerate this file, run: ./gradlew :agent:agent-profiler:agent-alerting-api:dependencies --write-locks
55
com.azure:azure-sdk-bom:1.3.9=runtimeClasspath
6-
com.fasterxml.jackson:jackson-bom:2.22.3=runtimeClasspath
7-
io.netty:netty-bom:4.2.19.Final=runtimeClasspath
6+
com.fasterxml.jackson:jackson-bom:2.22.4=runtimeClasspath
7+
io.netty:netty-bom:4.2.20.Final=runtimeClasspath
88
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:2.32.0-alpha=runtimeClasspath
99
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:2.32.0=runtimeClasspath
1010
io.opentelemetry:opentelemetry-bom-alpha:1.66.0-alpha=runtimeClasspath

0 commit comments

Comments
 (0)