Linker Options and Tuning

Dynamic linking is the default for Solaris 2. It has several advantages and, in many cases, better performance than static linking.

I’ll start by explaining how static and dynamic linking operate so that you understand the difference. I’ll explain why dynamic linking is preferred, then I’ll look at using dynamic linking to improve application performance. The difference between interfaces and implementations is a crucial distinction to make.

  • Interfaces — Interfaces are designed to stay the same over many releases of the product. That way, users or programmers have time to figure out how to use the interface.

  • Implementations — The implementation hides behind the interface and does the actual work. Bug fixes, performance ...

Get Sun Performance and Tuning: Java™ and the Internet, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.