commit | cc532e449b3af97bacbb357d2a66f055c33ad44c | [log] [tgz] |
---|---|---|
author | rmcilroy@chromium.org <rmcilroy@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00> | Mon Jul 28 10:04:36 2014 |
committer | rmcilroy@chromium.org <rmcilroy@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00> | Mon Jul 28 10:04:36 2014 |
tree | e08d3110cd73664be56b86940c61240778121deb | |
parent | d9075bf07e2250d63bd58369c07c169808b08baa [diff] |
Tests that the GC doesn't mistake non-pointer constant pool entries as pointers. Adds a test for ConstantPoolArray to ensure that the GC doesn't mistake non-pointer entries as pointers and try to modify them during scavenge operations. Also adds asserts to ConstantPoolArray::set(int, *Object) to ensure we don't add new-space pointers in constant pool array. R=hpayer@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=22608 Review URL: https://codereview.chromium.org/396803009 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22634 ce2b1a6d-e550-0410-aec6-3dcde31c8c00