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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.