Mercurial > hg > graal-jvmci-8
comparison graal/Runtime/src/com/sun/hotspot/c1x/HotSpotOptions.java @ 2492:4e5515d09314
Fixed merge issues.
- Accessing static fields from the java.lang.Class object instead of the klassOop (1-line-change)
- Fixed issue with RiField object caching (the caching was only taking the offset as a field ID, but need to take offset+is_static)
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 22 Apr 2011 19:00:07 +0200 |
parents | 099e697d8934 |
children | d8891d81dc8e |
comparison
equal
deleted
inserted
replaced
2491:0654ee04b214 | 2492:4e5515d09314 |
---|---|
43 } | 43 } |
44 | 44 |
45 Object value = null; | 45 Object value = null; |
46 String fieldName = null; | 46 String fieldName = null; |
47 String valueString = null; | 47 String valueString = null; |
48 | |
49 System.out.println(option); | |
50 | 48 |
51 char first = option.charAt(0); | 49 char first = option.charAt(0); |
52 if (first == '+' || first == '-') { | 50 if (first == '+' || first == '-') { |
53 fieldName = option.substring(1); | 51 fieldName = option.substring(1); |
54 value = (first == '+'); | 52 value = (first == '+'); |