-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Motivation: The RpcMessage class used only the encode message xid and type and always right at the beginning of the xdr stream. As the use case is very limited, the direct encoding of xid ant type can be applyed to avoid additional object allocation. Modification: Drop RpcMessage. Replace RpcMessage#xdrEncode with direct encoding of xid and type. Result: less object alocation Acked-by: Alber Rossi Target: master
- Loading branch information
Showing
5 changed files
with
21 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 0 additions & 58 deletions
58
oncrpc4j-core/src/main/java/org/dcache/oncrpc4j/rpc/RpcMessage.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters