Skip to main content

openjdk 7u4 b15 OS X : AggressiveHeap turns on incompatible settings

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2012-03-14

When specifying aggressiveHeap the vm aborts with

Error occurred during initialization of the VM

Incompatible compilation policy selected

Which probably means its balking on tiered compilation but why on earth is that turned on.

The simplest way to trigger it is

1.7.0jdk/Contents/Home/bin/java -XX:+AggressiveHeap -version

but the larger commandlines which are shipped with our products have the same issue

java -server -Xms4g -Xmx4g -XX:+AggressiveHeap ...