Mercurial > hg > graal-compiler
comparison graal/com.oracle.graal.hotspot.sourcegen/src/com/oracle/graal/hotspot/sourcegen/GenGraalRuntimeInlineHpp.java @ 21526:1da7aef31a08
created com.oracle.graal.hotspot.jvmci package and moved classes destined for future JVMCI module into it (JBS:GRAAL-53)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 19 May 2015 23:16:07 +0200 |
parents | e1c063565b3c |
children | c1e2fdb5fea3 |
comparison
equal
deleted
inserted
replaced
21489:b3f1d8b23037 | 21526:1da7aef31a08 |
---|---|
134 printedCase = true; | 134 printedCase = true; |
135 out.println(" case " + len + ":"); | 135 out.println(" case " + len + ":"); |
136 out.printf(" if (strncmp(name, \"PrintFlags\", %d) == 0) {%n", len); | 136 out.printf(" if (strncmp(name, \"PrintFlags\", %d) == 0) {%n", len); |
137 out.println(" if (value == '+') {"); | 137 out.println(" if (value == '+') {"); |
138 out.println(" if (check_only) {"); | 138 out.println(" if (check_only) {"); |
139 out.println(" TempNewSymbol name = SymbolTable::new_symbol(\"Lcom/oracle/graal/hotspot/HotSpotOptions;\", CHECK_(true));"); | 139 out.println(" TempNewSymbol name = SymbolTable::new_symbol(\"Lcom/oracle/graal/hotspot/jvmci/HotSpotOptions;\", CHECK_(true));"); |
140 out.println(" hotSpotOptionsClass = SystemDictionary::resolve_or_fail(name, true, CHECK_(true));"); | 140 out.println(" hotSpotOptionsClass = SystemDictionary::resolve_or_fail(name, true, CHECK_(true));"); |
141 out.println(" }"); | 141 out.println(" }"); |
142 out.println(" set_option_helper(hotSpotOptionsClass, name, name_len, Handle(), '?', Handle(), 0L);"); | 142 out.println(" set_option_helper(hotSpotOptionsClass, name, name_len, Handle(), '?', Handle(), 0L);"); |
143 out.println(" }"); | 143 out.println(" }"); |
144 out.println(" return true;"); | 144 out.println(" return true;"); |
184 out.println(" }"); | 184 out.println(" }"); |
185 } | 185 } |
186 | 186 |
187 @SuppressWarnings("unchecked") | 187 @SuppressWarnings("unchecked") |
188 static SortedMap<String, OptionDescriptor> getOptions() throws Exception { | 188 static SortedMap<String, OptionDescriptor> getOptions() throws Exception { |
189 Field field = Class.forName("com.oracle.graal.hotspot.HotSpotOptionsLoader").getDeclaredField("options"); | 189 Field field = Class.forName("com.oracle.graal.hotspot.jvmci.HotSpotOptionsLoader").getDeclaredField("options"); |
190 field.setAccessible(true); | 190 field.setAccessible(true); |
191 SortedMap<String, OptionDescriptor> options = (SortedMap<String, OptionDescriptor>) field.get(null); | 191 SortedMap<String, OptionDescriptor> options = (SortedMap<String, OptionDescriptor>) field.get(null); |
192 | 192 |
193 Set<Class<?>> checked = new HashSet<>(); | 193 Set<Class<?>> checked = new HashSet<>(); |
194 for (final OptionDescriptor option : options.values()) { | 194 for (final OptionDescriptor option : options.values()) { |