--- hotspot.old/make/linux/Makefile +++ hotspot/make/linux/Makefile @@ -233,7 +233,7 @@ # Solaris 2.5.1, 2.6). # Disable this check by setting DISABLE_HOTSPOT_OS_VERSION_CHECK=ok. -SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 3% 4% +SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 3% 4% 5% %6 OS_VERSION := $(shell uname -r) EMPTY_IF_NOT_SUPPORTED = $(filter $(SUPPORTED_OS_VERSION),$(OS_VERSION)) --- hotspot.old/src/share/vm/opto/lcm.cpp +++ hotspot/src/share/vm/opto/lcm.cpp @@ -49,7 +49,7 @@ // Check whether val is not-null-decoded compressed oop, // i.e. will grab into the base of the heap if it represents NULL. static bool accesses_heap_base_zone(Node *val) { - if (Universe::narrow_oop_base() > 0) { // Implies UseCompressedOops. + if (Universe::narrow_oop_base() != 0) { // Implies UseCompressedOops. if (val && val->is_Mach()) { if (val->as_Mach()->ideal_Opcode() == Op_DecodeN) { // This assumes all Decodes with TypePtr::NotNull are matched to nodes that --- hotspot.old/src/share/vm/runtime/virtualspace.cpp +++ hotspot/src/share/vm/runtime/virtualspace.cpp @@ -342,7 +342,7 @@ (UseCompressedOops && (Universe::narrow_oop_base() != NULL) && Universe::narrow_oop_use_implicit_null_checks()) ? lcm(os::vm_page_size(), alignment) : 0) { - if (base() > 0) { + if (base() != 0) { MemTracker::record_virtual_memory_type((address)base(), mtJavaHeap); } ==== end of patch ====