You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by GitBox <gi...@apache.org> on 2021/11/15 08:01:35 UTC

[GitHub] [httpcomponents-core] ok2c edited a comment on pull request #327: HTTPCORE-699 - Use Instant.now() across httpComponents.

ok2c edited a comment on pull request #327:
URL: https://github.com/apache/httpcomponents-core/pull/327#issuecomment-968618463


   > FYI, Instants are NOT allocated in the heap, as it is a value-type.
   
   @garydgregory No, they are NOT. Value types are NOT supported and will not be supported until the project Valhalla has been complete [1]. Presently this is _merely_ a hint that one day `Instant` instances and the likes _might_ be allocated on the stack rather than on the heap in the future.
   
   [1] https://openjdk.java.net/projects/valhalla/


-- 
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: dev-unsubscribe@hc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org