Displaying 3 results from an estimated 3 matches for "narrow_oop_base".
2018 Jul 20
3
error: ordered comparison between pointer and zero ('address' (aka 'unsigned char *') and 'int')
...10:00:36 2018 +0100
+++ b/src/share/vm/opto/lcm.cpp Fri Jul 20 10:06:37 2018 +0800
@@ -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() != NULL) { // Implies UseCompressedOops.
if (val && val->is_Mach()) {
if (val->as_Mach()->ideal_Opcode() == Op_DecodeN) {
// This assumes all Decodes with TypePtr::NotNull are match...
2018 Jul 23
2
error: ordered comparison between pointer and zero ('address' (aka 'unsigned char *') and 'int')
...cpp Fri Jul 20 10:06:37 2018 +0800
>> @@ -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() != NULL) { // Implies
>> UseCompressedOops.
>> if (val && val->is_Mach()) {
>> if (val->as_Mach()->ideal_Opcode() == Op_DecodeN) {
>> //...
2018 Jul 19
2
error: ordered comparison between pointer and zero ('address' (aka 'unsigned char *') and 'int')
...opers,
I am building OpenJDK8[1] with LLVM toolchain[2] for mips64el, it failed
to build:
/home/loongson/jdk8-mips/hotspot/src/share/vm/opto/lcm.cpp:52:35: error:
ordered comparison between pointer and zero ('address' (aka 'unsigned
char *') and 'int')
if (Universe::narrow_oop_base() > 0) { // Implies UseCompressedOops.
~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
Just like compiling Linux kernel with LLVM for mips64el[3], the bug
could be fixed both in Compiler side and HotSpot side, please give me
some suggestion, thanks a lot! And my sincere thanks will go to Nick who
he...