Go to main content

Developer's Guide for Migrating to Oracle® Solaris 11.4

Exit Print View

Updated: November 2020
 
 

Optimizing Applications by Using Oracle Developer Studio

The tools provided by Oracle Developer Studio enable you to leverage the processing capabilities of the latest CPU architectures such as Oracle's SPARC T-Series and M-Series servers, and Intel Xeon processors. The tools enable easier creation of parallel and concurrent software applications for these platforms. For information about SPARC M-Series and T-Series servers, see SPARC Servers documentation. For information about Oracle x86 systems, see x86 Servers documentation.

If the migrated application does not have strict requirements for adherence to standards, you can obtain additional performance gains by using optimization flags to build higher-performing binaries. For example, the –fast macro in Oracle Developer Studio is the easiest way to generate an optimized binary for specific target hardware.


Note -  The –fast macro implies the –fns option.

This section provides information about optimizing applications by using Oracle Developer Studio.

Oracle Developer Studio Tools

    To generate high-performing binaries and isolate code issues that are difficult to detect, you can use the following Oracle Developer Studio tools:

  • Performance Analyzer – Analyzes application performance, identifies performance hotspots, and determines the parts of a program that need to be improved.

  • Thread Analyzer – Detects code issues in multithreaded programs. For example, you can detect data races and deadlock conditions.

  • Discover – Detects programming errors related to the allocation and use of program memory at runtime. You can detect the following types of programming errors:

    • Reading from and writing to unallocated memory

    • Freeing the wrong memory blocks

    • Using free memory

    • Accessing memory beyond allocated array bounds

    • Memory leaks

    • Accessing uninitialized memory

    Discover tool also uses Silicon Secured Memory (SSM) feature of the SPARC M7, SPARC M8, SPARC S7, SPARC T7, and SPARC T8 processors, which detects common memory access errors that can cause runtime data corruption. For more information, see Application Data Integrity and Hardware-Assisted Checking Using Silicon Secured Memory (SSM).

  • Uncover – Measures the code coverage of user applications. The coverage information reported by this tool could be at the level of a function, statement, basic block, or instruction By default, the high-performance libumem library is bundled with Oracle Solaris 11. The libumem library, along with the dbx debugging tool, finds memory leaks and buffer overruns that are difficult to detect.

For more information, see the Oracle Developer Studio Documentation.