What's New in Oracle® Solaris Studio 12.4

Exit Print View

Updated: December 2014
 
 

New Discover Features

The following features were added in the Discover memory analysis tool in this release. For more information, see the discover (1) man page and Oracle Solaris Studio 12.4: Discover and Uncover User’s Guide .

  • Discover can check parts of an executable or a library, by using the –c[- | lib[:scope...] | file] option. For more information, see Checking Parts of a Library or an Executable in Oracle Solaris Studio 12.4: Discover and Uncover User’s Guide .

  • New Discover APIs display memory leaks and memory usage on demand. For more information, see New Discover APIs.

  • Discover is now available on Oracle Enterprise Linux.

  • Discover can follow and collect memory access data from both the child and parent process with the–F both option. This is the new default.

  • Discover error reports support multiple runs of the target binary as in a test suite. Error reporting format works in conjunction with the new command line codean utility.

  • New functionality to check for memory errors on code allocated with mmap(2).

  • HTML reports improved to highlight variable names, line numbers, and addresses.

  • Name of variable is now shown in memory error where the memory corruption occurs.

  • Discover can now catch static-type array out-of bounds errors by default. For more information, see Memory Access Errors and Warnings in Oracle Solaris Studio 12.4: Discover and Uncover User’s Guide .

  • Using the –i datarace option can now report dual stack traces for races detected with binary instrumentation using Discover.

  • Support added for large files.

The following figure is an example of using Discover to generate a report with HTML highlighting and variable name.

Figure 4-3  Discover HTML Highlighting and Variable Name Example

image:Screenshot that shows Discover HTML highlighting and variable name