github-actions[bot] commented on code in PR #41869:
URL: https://github.com/apache/beam/pull/41869#discussion_r4763886591


##########
CHANGES.md:
##########
@@ -128,6 +128,7 @@
 * (Python) Optimized core combiners: `ToListCombineFn` and 
`ConcatListCombineFn` replace quadratic `sum(accumulators, [])` merges with 
linear `itertools.chain.from_iterable` (and in-place `extend()` in 
`ConcatListCombineFn.add_input`); `CountCombineFn.add_inputs` uses O(1) `len()` 
for `Sized` inputs; and `TopCombineFn`/`SampleCombineFn` operate directly on 
the underlying heap ([#41062](https://github.com/apache/beam/pull/41062)).
 * (Python) `WriteImpl._expand_bounded` (used by bounded file sinks such as 
`WriteToText`, `WriteToAvro`, `WriteToParquet`, and `WriteToTFRecord`) now 
skips the redundant per-element `WindowInto(GlobalWindows())` pass when the 
upstream `PCollection` already uses the default global windowing strategy 
([#40911](https://github.com/apache/beam/pull/40911)).
 * (Java) Added support for `--experiments=java_gc=<GC>` (`UseParallelGC`, 
`UseG1GC`, or `UseZGC`; defaults to `UseParallelGC`) in the portable Java SDK 
harness container, enabling alternative JVM garbage collectors on 
memory-constrained workers 
([#41029](https://github.com/apache/beam/pull/41029)).
+* (Java) Dataflow legacy worker: per-step Cloud Profiler sample tagging 
(`ScopedProfiler`, which annotates CPU/wall samples with internal `"sN"` step 
IDs via the `attr` label) is now disabled by default to avoid per-element JNI 
overhead. Re-enable with `--experiments=enable_scoped_profiler` if needed for 
offline `pprof` CLI inspection ([#X](https://github.com/apache/beam/issues/X)).

Review Comment:
   **🟢 Low**: Replace the placeholder issue reference 
`([#X](https://github.com/apache/beam/issues/X))` with the actual PR link 
`([#41869](https://github.com/apache/beam/pull/41869))`.
   
   ```suggestion
   * (Java) Dataflow legacy worker: per-step Cloud Profiler sample tagging 
(`ScopedProfiler`, which annotates CPU/wall samples with internal `"sN"` step 
IDs via the `attr` label) is now disabled by default to avoid per-element JNI 
overhead. Re-enable with `--experiments=enable_scoped_profiler` if needed for 
offline `pprof` CLI inspection 
([#41869](https://github.com/apache/beam/pull/41869)).
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to