build error in lambda repo
Peter Levart
peter.levart at marand.si
Wed Aug 29 01:35:00 PDT 2012
Hello,
I had to make the following changes to 2 hotspot source files (suggested by the gcc messages) in order to build the latest lambda enabled JDK:
diff -r ad87adf32248 src/share/vm/utilities/hashtable.cpp
--- a/src/share/vm/utilities/hashtable.cpp Wed Aug 08 15:11:28 2012 -0400
+++ b/src/share/vm/utilities/hashtable.cpp Wed Aug 29 10:26:11 2012 +0200
@@ -135,7 +135,7 @@
// walking the hashtable past these entries requires
// BasicHashtableEntry::make_ptr() call.
bool keep_shared = p->is_shared();
- unlink_entry(p);
+ this->unlink_entry(p);
new_table->add_entry(index, p);
if (keep_shared) {
p->set_shared();
diff -r ad87adf32248 src/share/vm/utilities/hashtable.hpp
--- a/src/share/vm/utilities/hashtable.hpp Wed Aug 08 15:11:28 2012 -0400
+++ b/src/share/vm/utilities/hashtable.hpp Wed Aug 29 10:26:11 2012 +0200
@@ -260,7 +260,7 @@
}
int index_for(Symbol* name) {
- return hash_to_index(compute_hash(name));
+ return this->hash_to_index(compute_hash(name));
}
// Table entry management
I'm using g++ (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5) on Fedora 17.
Regards, Peter
More information about the hotspot-runtime-dev
mailing list