RFR (M): 8023033: PPC64 (part 13): basic changes for AIX
vladimir.kozlov at oracle.com
Thu Aug 15 08:51:35 PDT 2013
I only see 2 problems which you did not explain:
nmethod.hpp. Why the next change? we don't use C++ exceptions:
- void* operator new(size_t size, int nmethod_size);
+ void* operator new(size_t size, int nmethod_size) throw ();
port.hpp. Did AIX has the same definitions for jlong and julong?:
+// These conflict with /usr/include/sys/inttypes.h on aix.
typedef jlong int64; // Java long for my 64-bit type
typedef julong uint64; // Java long for my 64-bit type
And of cause we need to test these changes with compilers we use.
On 8/15/13 5:10 AM, Lindenmaier, Goetz wrote:
> I prepared a webrev for
> 8023033: PPC64 (part 13): basic changes for AIX
> This contains the basic shared changes needed for the AIX port,
> as there are
> - #includes
> - Fixes to get the code compiling with xlC/on AIX
> - Basic adaptions as in vm_version.cpp.
> It also determines the placement and naming of the aix files,
> which will go to os/aix and os_cpu/aix_ppc, as you can see in
> Some details about the compilation problems:
> xlC wants initialization in inline implementation.
> BAD is defined in AIX system header sys/param.h. Renamed.
> xlC complains:
> runtime/mutexLocker.hpp", line 192.3: 1540-0300 (S) The "private" member "StackObj::operator delete(void *)" cannot be accessed.
> Aix defines hz to be 100, see sys/m_param.h. Renamed.
> With other include order we get a lot of
> memory/metaspace.hpp", line 281.66: 1540-0130 (S) "PRIuPTR" is not declared.
> Please review and test this change. Comments are welcome.
> Thanks and best regards,
More information about the hotspot-dev