Mercurial > hg > truffle
comparison src/share/vm/runtime/reflectionUtils.cpp @ 4559:723df37192d6
Make it possible again to build a real client libjvm, drop the UseGraal flag.
Use the --vm option instead of a special -vm option in the bench command
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Fri, 10 Feb 2012 17:04:03 +0100 |
parents | f400f9554f09 |
children | 70f715dfbb41 |
comparison
equal
deleted
inserted
replaced
4558:3706975946e4 | 4559:723df37192d6 |
---|---|
77 _filtered_fields->append(new FilteredField(SystemDictionary::reflect_ConstantPool_klass(), offset)); | 77 _filtered_fields->append(new FilteredField(SystemDictionary::reflect_ConstantPool_klass(), offset)); |
78 offset = sun_reflect_UnsafeStaticFieldAccessorImpl::base_offset(); | 78 offset = sun_reflect_UnsafeStaticFieldAccessorImpl::base_offset(); |
79 _filtered_fields->append(new FilteredField(SystemDictionary::reflect_UnsafeStaticFieldAccessorImpl_klass(), offset)); | 79 _filtered_fields->append(new FilteredField(SystemDictionary::reflect_UnsafeStaticFieldAccessorImpl_klass(), offset)); |
80 } | 80 } |
81 #ifdef GRAAL | 81 #ifdef GRAAL |
82 if (UseGraal) { | 82 compute_offset(offset, SystemDictionary::HotSpotMethodResolved_klass(), "javaMirror", "Ljava/lang/Object;", false); |
83 compute_offset(offset, SystemDictionary::HotSpotMethodResolved_klass(), "javaMirror", "Ljava/lang/Object;", false); | 83 _filtered_fields->append(new FilteredField(SystemDictionary::HotSpotMethodResolved_klass(), offset)); |
84 _filtered_fields->append(new FilteredField(SystemDictionary::HotSpotMethodResolved_klass(), offset)); | 84 compute_offset(offset, SystemDictionary::HotSpotMethodData_klass(), "hotspotMirror", "Ljava/lang/Object;", false); |
85 compute_offset(offset, SystemDictionary::HotSpotMethodData_klass(), "hotspotMirror", "Ljava/lang/Object;", false); | 85 _filtered_fields->append(new FilteredField(SystemDictionary::HotSpotMethodData_klass(), offset)); |
86 _filtered_fields->append(new FilteredField(SystemDictionary::HotSpotMethodData_klass(), offset)); | |
87 } | |
88 #endif | 86 #endif |
89 } | 87 } |
90 | 88 |
91 int FilteredFieldStream::field_count() { | 89 int FilteredFieldStream::field_count() { |
92 int numflds = 0; | 90 int numflds = 0; |