commit | f5949168d4142cde1582117173b03c614b632938 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Jan 10 15:30:18 2011 -0800 |
committer | Elliott Hughes <enh@google.com> | Mon Jan 10 15:35:05 2011 -0800 |
tree | 8bce08418de8ee87218bfb392826840f7ac457c4 | |
parent | 5e261cd107a923ffc4d4329aa9bd19da220981c8 [diff] |
Move nio direct byte buffers onto the Java heap. Specifically, implement VMRuntime.newNonMovableArray and VMRuntime.addressOf. For now these are pretty trivial because we don't have a copying collector, but this (a) prevents code from allocating arbitrary amounts of direct byte buffer without being charged for it, and (b) lets us move to a copying collector in future. Change-Id: I5de156dc8ac4ab5c997e18d447f635eb01ff08ab