Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Handle 'Connection reset' as end-of-stream failures too

Handle 'Connection reset' as end-of-stream failures too

Use InetAddress.getLoopbackAddress to find loopback address

    • -1
    • +1
    ./internal/inet/InetAddressFactory.java
Revert loopback

    • -30
    • +3
    ./internal/inet/InetAddressFactory.java
  1. … 1 more file in changeset.
Run perf with loopback

    • -3
    • +30
    ./internal/inet/InetAddressFactory.java
  1. … 14 more files in changeset.
Apply `Inner class may be 'static'` inspection the whole project

    • -1
    • +1
    ./internal/hub/DefaultMethodArgsSerializer.java
    • -1
    • +1
    ./internal/hub/JavaSerializationBackedMethodArgsSerializer.java
  1. … 40 more files in changeset.
Rework `MessagingServices` so that it is just a provider of services and registered in the same way as other providers, rather than it being its own `ServiceRegistry` that is added as a service and then specific services manually located from it.

Also rework how the logging services are wired into the tooling API connections, so that the logging services registry is just a parent of the connection services in the same way as other scopes, rather than it being registered as a service as well as being a parent.

  1. … 8 more files in changeset.
Rework `MessagingServices` so that it is just a provider of services and registered in the same way as other providers, rather than it being its own `ServiceRegistry` that is added as a service and then specific services manually located from it.

Also rework how the logging services are wired into the tooling API connections, so that the logging services registry is just a parent of the connection services in the same way as other scopes, rather than it being registered as a service as well as being a parent.

  1. … 8 more files in changeset.
Rework `MessagingServices` so that it is just a provider of services and registered in the same way as other providers, rather than it being its own `ServiceRegistry` that is added as a service and then specific services manually located from it.

Also rework how the logging services are wired into the tooling API connections, so that the logging services registry is just a parent of the connection services in the same way as other scopes, rather than it being registered as a service as well as being a parent.

  1. … 8 more files in changeset.
WIP - more changes.

  1. … 9 more files in changeset.
WIP - more changes.

  1. … 9 more files in changeset.
Change ArrayLists, used as Queues to ArrayDeques and LinkedLists

removing the first element is linear in an ArrayList

    • -5
    • +11
    ./internal/hub/queue/MultiEndPointQueue.java
  1. … 9 more files in changeset.
Change ArrayLists, used as Queues to ArrayDeques and LinkedLists

removing the first element is linear in an ArrayList

    • -5
    • +11
    ./internal/hub/queue/MultiEndPointQueue.java
  1. … 9 more files in changeset.
Extract anonymous classes to static inner classes

    • -17
    • +29
    ./internal/inet/TcpIncomingConnector.java
  1. … 145 more files in changeset.
Extract anonymous classes to static inner classes

    • -17
    • +29
    ./internal/inet/TcpIncomingConnector.java
  1. … 145 more files in changeset.
Extract anonymous classes to static inner classes

    • -17
    • +29
    ./internal/inet/TcpIncomingConnector.java
  1. … 145 more files in changeset.
Extract anonymous classes to static inner classes

    • -17
    • +29
    ./internal/inet/TcpIncomingConnector.java
  1. … 145 more files in changeset.
Extract anonymous classes to static inner classes

    • -17
    • +29
    ./internal/inet/TcpIncomingConnector.java
  1. … 146 more files in changeset.
Remove synthetic accessors for internal private symbol references

    • -1
    • +4
    ./internal/hub/DefaultMethodArgsSerializer.java
    • -2
    • +8
    ./internal/hub/JavaSerializationBackedMethodArgsSerializer.java
    • -3
    • +3
    ./internal/hub/MessageHubBackedObjectConnection.java
    • -2
    • +2
    ./internal/hub/MessageHubBackedServer.java
    • -5
    • +10
    ./internal/inet/SocketConnection.java
    • -2
    • +5
    ./internal/inet/SocketInetAddress.java
    • -2
    • +2
    ./internal/inet/TcpIncomingConnector.java
  1. … 895 more files in changeset.
Remove synthetic accessors for internal private symbol references

    • -1
    • +4
    ./internal/hub/DefaultMethodArgsSerializer.java
    • -2
    • +8
    ./internal/hub/JavaSerializationBackedMethodArgsSerializer.java
    • -3
    • +3
    ./internal/hub/MessageHubBackedObjectConnection.java
    • -2
    • +2
    ./internal/hub/MessageHubBackedServer.java
    • -5
    • +10
    ./internal/inet/SocketConnection.java
    • -2
    • +5
    ./internal/inet/SocketInetAddress.java
    • -2
    • +2
    ./internal/inet/TcpIncomingConnector.java
  1. … 895 more files in changeset.
Remove synthetic accessors for internal private symbol references

    • -1
    • +4
    ./internal/hub/DefaultMethodArgsSerializer.java
    • -2
    • +8
    ./internal/hub/JavaSerializationBackedMethodArgsSerializer.java
    • -3
    • +3
    ./internal/hub/MessageHubBackedObjectConnection.java
    • -2
    • +2
    ./internal/hub/MessageHubBackedServer.java
    • -5
    • +10
    ./internal/inet/SocketConnection.java
    • -2
    • +5
    ./internal/inet/SocketInetAddress.java
    • -2
    • +2
    ./internal/inet/TcpIncomingConnector.java
  1. … 883 more files in changeset.
Remove synthetic accessors for internal private symbol references

    • -1
    • +4
    ./internal/hub/DefaultMethodArgsSerializer.java
    • -2
    • +8
    ./internal/hub/JavaSerializationBackedMethodArgsSerializer.java
    • -3
    • +3
    ./internal/hub/MessageHubBackedObjectConnection.java
    • -2
    • +2
    ./internal/hub/MessageHubBackedServer.java
    • -5
    • +10
    ./internal/inet/SocketConnection.java
    • -2
    • +5
    ./internal/inet/SocketInetAddress.java
    • -2
    • +2
    ./internal/inet/TcpIncomingConnector.java
  1. … 890 more files in changeset.
Remove synthetic accessors for internal private symbol references

    • -1
    • +4
    ./internal/hub/DefaultMethodArgsSerializer.java
    • -2
    • +8
    ./internal/hub/JavaSerializationBackedMethodArgsSerializer.java
    • -3
    • +3
    ./internal/hub/MessageHubBackedObjectConnection.java
    • -2
    • +2
    ./internal/hub/MessageHubBackedServer.java
    • -5
    • +10
    ./internal/inet/SocketConnection.java
    • -2
    • +5
    ./internal/inet/SocketInetAddress.java
    • -2
    • +2
    ./internal/inet/TcpIncomingConnector.java
  1. … 895 more files in changeset.
Remove synthetic accessors for internal private symbol references

    • -1
    • +4
    ./internal/hub/DefaultMethodArgsSerializer.java
    • -2
    • +8
    ./internal/hub/JavaSerializationBackedMethodArgsSerializer.java
    • -3
    • +3
    ./internal/hub/MessageHubBackedObjectConnection.java
    • -2
    • +2
    ./internal/hub/MessageHubBackedServer.java
    • -5
    • +10
    ./internal/inet/SocketConnection.java
    • -2
    • +5
    ./internal/inet/SocketInetAddress.java
    • -2
    • +2
    ./internal/inet/TcpIncomingConnector.java
  1. … 895 more files in changeset.
Add missing @Override to all modules

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +2
    ./internal/hub/InterHubMessageSerializer.java
    • -0
    • +1
    ./internal/hub/MessageHubBackedClient.java
    • -0
    • +7
    ./internal/hub/MessageHubBackedObjectConnection.java
    • -0
    • +2
    ./internal/hub/MessageHubBackedServer.java
    • -0
    • +4
    ./internal/hub/MethodInvocationSerializer.java
    • -0
    • +1
    ./internal/hub/queue/EndPointQueue.java
    • -0
    • +1
    ./internal/hub/queue/MultiEndPointQueue.java
    • -0
    • +3
    ./internal/inet/MultiChoiceAddress.java
    • -0
    • +1
    ./internal/inet/SocketConnectCompletion.java
  1. … 991 more files in changeset.
Add missing @Override to all modules

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +2
    ./internal/hub/InterHubMessageSerializer.java
    • -0
    • +1
    ./internal/hub/MessageHubBackedClient.java
    • -0
    • +7
    ./internal/hub/MessageHubBackedObjectConnection.java
    • -0
    • +2
    ./internal/hub/MessageHubBackedServer.java
    • -0
    • +4
    ./internal/hub/MethodInvocationSerializer.java
    • -0
    • +1
    ./internal/hub/queue/EndPointQueue.java
    • -0
    • +1
    ./internal/hub/queue/MultiEndPointQueue.java
    • -0
    • +3
    ./internal/inet/MultiChoiceAddress.java
    • -0
    • +1
    ./internal/inet/SocketConnectCompletion.java
  1. … 985 more files in changeset.
More tweaks to the native launcher

  1. … 3 more files in changeset.
Dirty hacks to make it work

  1. … 10 more files in changeset.
Experiment with Graal native image launcher

To try it:

- run `gradlew launcher:nativeImage`

- copy the `subprojects/launcher/build/graal/launcher-native` file into a local Gradle install `bin` directory

- go into your local Gradle distribution directory and run `bin/launcher-native -Dorg.gradle.native=false -Djava.home=/opt/jdk1.8.0 -d`

(adapt the JDK path accordingly)

  1. … 8 more files in changeset.
Experiment with Graal native image launcher

To try it:

- run `gradlew launcher:nativeImage`

- copy the `subprojects/launcher/build/graal/launcher-native` file into a local Gradle install `bin` directory

- go into your local Gradle distribution directory and run `bin/launcher-native -Dorg.gradle.native=false -Djava.home=/opt/jdk1.8.0 -d`

(adapt the JDK path accordingly)

  1. … 8 more files in changeset.