Oracle Developer Studio
This article relies largely or entirely on a single source. (April 2011) |
Developer(s) | Oracle Corporation |
---|---|
Stable release | 12.6[1]
/ July 5, 2017 |
Operating system | Solaris, OpenSolaris, RHEL, Oracle Linux[2] |
Available in | English, Japanese Simplified Chinese |
Type | Compiler, debugger, software build, integrated development environment |
License | Free for download and use as described in the product license |
Website | www |
Oracle Developer Studio, formerly named Oracle Solaris Studio, Sun Studio, Sun WorkShop, Forte Developer, and SunPro Compilers, is Oracle Corporation's flagship software development product for the Solaris and Linux operating systems. It includes optimizing C, C++, and Fortran compilers, libraries, and performance analysis and debugging tools, for Solaris on SPARC and x86 platforms, and Linux on x86/x64 platforms, including multi-core systems.
Oracle Developer Studio is downloadable and usable at no charge; however, there are many security and functionality patch updates which are only available with a support contract from Oracle.[3]
Version 12.4 adds support for the C++11 language standard.[4] All C++11 features are supported except for concurrency and atomic operations, and user-defined literals.
Languages
Supported architectures
Components
The Oracle Developer software suite includes:
- C, C++, and Fortran compilers and support libraries
- dbx and frontends
- lint
- A NetBeans-based IDE
- Performance Analyzer[5]
- Thread analyzer
- Sun performance library
- Distributed make[6]
Compiler optimizations
A common optimizing backend is used for code generation.
A high-level intermediate representation called Sun IR is used, and high-level optimizations done in the iropt (intermediate representation optimizer) component are operated at the Sun IR level. Major optimizations include:
- Copy propagation
- Constant folding and constant propagation
- Dead code elimination
- Interprocedural optimization analysis
- Loop optimizations
- Automatic parallelization
- Profile-guided optimization
- Scalar replacement
- Strength reduction
- Automatic vectorization, with
-xvector=simd
OpenMP
The OpenMP shared memory parallelization API is native to all three compilers.
Code coverage
Tcov, a source code coverage analysis and statement-by-statement profiling tool, comes as a standard utility. Tcov generates exact counts of the number of times each statement in a program is executed and annotates source code to add instrumentation.
The tcov utility gives information on how often a program executes segments of code. It produces a copy of the source file, annotated with execution frequencies. The code can be annotated at the basic block level or the source line level. As the statements in a basic block are executed the same number of times, a count of basic block executions equals the number of times each statement in the block is executed.[7] The tcov utility does not produce any time-based data.
GCCFSS
The GCC for SPARC Systems (GCCFSS) compiler uses GNU Compiler Collection's (GCC) front end with the Oracle Developer Studio compiler's code-generating back end. Thus, GCCFSS is able to handle GCC-specific compiler directives, while it is also able to take advantage of the compiler optimizations in the compiler's back end. This greatly facilitates the porting of GCC-based applications to SPARC systems.
GCCFSS 4.2 adds the ability to be used as a cross compiler; SPARC binaries can be generated on an x86 (or x64) machine running Solaris.[8]
Research platform
Before its cancellation, the Rock would have been the first general-purpose processor to support hardware transactional memory (HTM). The Oracle Developer Studio compiler is used by a number of research projects, including Hybrid Transactional Memory (HyTM)[9] and Phased Transactional Memory (PhTM),[10] to investigate support and possible HTM optimizations.
History
Product name | Version number | C/C++ compiler | Supported Operating Systems | Release date |
---|---|---|---|---|
SPARCworks 2.0 | 2.0 | Solaris | 1992 | |
SunSoft Workshop 1.0 | 3.0 | Solaris | July 1994 | |
SunSoft Workhop 2.0 | 4.0 | Solaris | March 1995 | |
Sun Workshop 3.0 | 4.2 | Solaris | January 1997 | |
Sun Workshop 5 | 5 | 5.0 | Solaris | December 1998 |
Forte Developer 6 (Sun WorkShop 6) | 6 | 5.1 | Solaris | May 2000 |
Forte Developer 6 update 1 | 6.1 | 5.2 | Solaris | November 2000 |
Forte Developer 6 update 2 | 6.2 | 5.3 | Solaris | July 2001 |
Sun ONE Studio 7 (Forte Developer 7) | 7 | 5.4 | Solaris | May 2002 |
Sun ONE Studio 8 Compiler Collection | 8 | 5.5 | Solaris | May 2003 |
Sun Studio 8 | 8 | 5.5 | Solaris | March 2004 |
Sun Studio 9 | 9 | 5.6 | Solaris, Linux | July 2004 |
Sun Studio 10 | 10 | 5.7 | Solaris, Linux | January 2005 |
Sun Studio 11 | 11 | 5.8 | Solaris, Linux | November 2005 |
Sun Studio 12 | 12 | 5.9 | Solaris, Linux | June 2007 |
Sun Studio 12 Update 1 | 12.1 | 5.10 | Solaris, Linux | June 2009 |
Oracle Solaris Studio 12.2 | 12.2 | 5.11 | Solaris, Linux | September 2010 |
Oracle Solaris Studio 12.3 | 12.3 | 5.12 | Solaris, Linux | December 2011 |
Oracle Solaris Studio 12.4 | 12.4 | 5.13 | Solaris, Linux | November 2014 |
Oracle Developer Studio 12.5 | 12.5 | 5.14 | Solaris, Linux | June 2016 |
Oracle Developer Studio 12.6 | 12.6 | 5.15 | Solaris, Linux | June 2017 |
– Source: [11]
References
- ^ Ikroop Dhillon (2017-07-05). "Announcing Oracle Developer Studio 12.6!". Oracle Blogs. Oracle Corporation. Retrieved 2017-09-13.
- ^ Oracle gooses Studio compilers for Solaris, Linux
- ^ Oracle Solaris Studio downloads
- ^ http://docs.oracle.com/cd/E37069_01/html/E37071/gncix.html
- ^ "Oracle Solaris Studio 12.2: Performance Analyzer". Oracle Corporation. Retrieved 2010-09-11.
- ^ "Sun Studio 12: Distributed Make (dmake)". Oracle Corporation. Retrieved 2016-06-01.
- ^ Basic block#Definition
- ^ "Cool Tools - GCC for Sun Systems 4.2.0 as a Cross Compiler". Sun Microsystems. Retrieved 2008-07-31.
- ^ "Hybrid Transactional Memory" (PDF). Sun Microsystems. Retrieved 2007-11-10.
- ^ "PhTM: Phased Transactional Memory" (PDF). Sun Microsystems. Archived from the original (PDF) on 2012-02-11. Retrieved 2016-06-01.
- ^ "Oracle Developer Studio and Oracle Solaris Studio Component Matrix". Oracle Technology Network. Oracle. Retrieved 27 February 2017.