File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -167,9 +167,11 @@ disabled where we dynamically detect that they probably won't be used. See the
167
167
168
168
#### ` VALUE ` is a pointer
169
169
170
- In TruffleRuby ` VALUE ` is a pointer rather than a 64 bit integer
171
- type. This means that ` switch ` statements cannot be done using a raw
172
- ` VALUE ` as they can with MRI
170
+ In TruffleRuby ` VALUE ` is a pointer type (` void * ` ) rather than a
171
+ integer type (` long ` ). This means that ` switch ` statements cannot be
172
+ done using a raw ` VALUE ` as they can with MRI. You can normally
173
+ replace any ` switch ` statement with ` if ` statements with little
174
+ difficulty if required.
173
175
174
176
#### Identifiers may be macros or functions
175
177
@@ -188,10 +190,10 @@ fixed, please report these cases.
188
190
189
191
The ` mark ` function of ` RDATA ` and ` RTYPEDDATA ` is not called during
190
192
garbage collection. Instead we simulate this by caching information
191
- about objects as they are assigned to structs, and periodically
192
- running all mark functions when the cache has become full to represent
193
- those object relationships in a way that the our garbage collector
194
- will understand.
193
+ about objects as they are assigned to structs, and periodically run
194
+ all mark functions when the cache has become full to represent those
195
+ object relationships in a way that the our garbage collector will
196
+ understand. The process should behave identically to MRI .
195
197
196
198
## Compatibility with JRuby
197
199
You can’t perform that action at this time.
0 commit comments