build error in lambda repo
Keith McGuigan
keith.mcguigan at oracle.com
Wed Aug 29 06:08:36 PDT 2012
Hi Peter -
I think we have this fix already in the hotspot main repos. I'm working
on sync'ing the lambda repo with the main jdk8, so we should pick this
up for the lambda hotspot repo soon.
--
- Keith
On 8/29/2012 4:35 AM, Peter Levart wrote:
> 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