Clone
 

stefan oehme <stefan@gradle.com> in Gradle

Minor hashcode optimizations

First compare fields that are more likely to be different.

Avoid some branch mispredicts

Do more work, but using less conditionals, which should overall

be faster than frequent branch mispredicts.

Fix remaining distributed test failures

Fix JDK assumptions

Fix JDK assumptions

Enable distributed testing for all projects

    • -17
    • +15
    /gradle/useTestDistribution.gradle
    • -3
    • +1
    /subprojects/plugins/plugins.gradle.kts
    • -0
    • +2
    /subprojects/samples/samples.gradle.kts
Enable distributed testing for all projects

    • -16
    • +14
    /gradle/useTestDistribution.gradle
    • -3
    • +1
    /subprojects/plugins/plugins.gradle.kts
    • -0
    • +2
    /subprojects/samples/samples.gradle.kts
Let plugins subproject use distributed testing

    • -1
    • +3
    /subprojects/plugins/plugins.gradle.kts
Restore system properties that are now handled out of the box

Make lib/plugins an input

Enable test distribution for dependency-management

Use distributed testing for dependency management tests

Use distributed testing for dependency management tests

Dogfood distributed testing

    • -0
    • +45
    /gradle/useTestDistribution.gradle
Merge pull request #10913 from gradle/oehme/minor-fixes

Reduce long-term heap usage

Use immutable map instead of linked hashmap for fingerprints

This is more memory efficient.

Use immutable map instead of linked hashmap for fingerprints

This is more memory efficient.

Use immutable map instead of linked hashmap for fingerprints

This is more memory efficient.

Reduce long-term heap usage of execution plan

As soon as we have calculated the execution plan, we no longer need

the task dependency resolver and can thus clear it out, reclaiming

a bunch of memory.

Reduce long-term heap usage of execution plan

As soon as we have calculated the execution plan, we no longer need

the task dependency resolver and can thus clear it out, reclaiming

a bunch of memory.

Always honor excludes when using JUnit platform

Previously they were only considered if there also were some includes.

Always honor excludes when using JUnit platform

Previously they were only considered if there also were some includes.

Clarify what is meant by "cache hits"

    • -1
    • +1
    /subprojects/docs/src/docs/release/notes.md
Merge pull request #10086 from gradle/oehme/setting-task-actions

Allow replacing task actions

Merge pull request #10088 from gradle/oehme/task-cancellation

Interrupt task workers when build is cancelled

    • -1
    • +4
    /subprojects/docs/src/docs/release/notes.md
Test and document task cancellation

    • -1
    • +4
    /subprojects/docs/src/docs/release/notes.md
Interrupt task workers when build is cancelled

This allows arbitrary tasks to respond to cancellation, the same

way that task timouts are handled. The task only needs to respond

to interrupts in order to be cancellable. No additional public API

is required.

Interrupt task workers when build is cancelled

This allows arbitrary tasks to respond to cancellation, the same

way that task timouts are handled. The task only needs to respond

to interrupts in order to be cancellable. No additional public API

is required.

Allow replacing task actions

The overload for List.set was missing from our decorating

action list, which makes it harder to replace a specific action.

Allow replacing task actions

The overload for List.set was missing from our decorating

action list, which makes it harder to replace a specific action.