Techniques for writing low latency Java code.... different to C++?
I was thinking about low latency Java code today and besides throughput/distributed architecture, what techniques are there for low latency Java?

The reason I ask is because the Java language seems much simpler than C++ and the developer has less control..... so I wondered if there are any language specific syntax to do/avoid?

For example, in Java you get no choice whether to pass by reference or by value.
Techniques for writing low latency Java code.... different to C++?
===

I was thinking about low latency Java code today and besides throughput/distributed architecture, what techniques are there for low latency Java?

The reason I ask is because the Java language seems much simpler than C++ and the developer has less control..... so I wondered if there are any language specific syntax to do/avoid?

For example, in Java you get no choice whether to pass by reference or by value.