You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1001 B

11 years ago
--- !ditz.rubyforge.org,2008-03-06/issue
title: duk_force_string_table_resize(), use recheck_hash_size() with resize_hash() at least for small builds
desc: ""
type: :task
component: duk
release: v0.8
reporter: sva <sami.vaarala@iki.fi>
11 years ago
status: :closed
disposition: :fixed
11 years ago
creation_time: 2013-12-06 21:09:48.575657 Z
references: []
id: 08518fcd5599fbaa450342ba1e095c7b5a360441
log_events:
- - 2013-12-06 21:09:48.778702 Z
- sva <sami.vaarala@iki.fi>
- created
- ""
11 years ago
- - 2013-12-10 23:44:18.154872 Z
- sva <sami.vaarala@iki.fi>
- changed status from unstarted to in_progress
- ""
11 years ago
- - 2013-12-11 21:14:46.118626 Z
- sva <sami.vaarala@iki.fi>
- closed with disposition fixed
- |-
Fixed by adding DUK_OPT_NO_MS_STRINGTABLE_RESIZE. Just calling recheck_hash_size()
is not that useful: it is called on every string intern anyway, and the stringtable
resize happens almost at the end of mark-and-sweep so doing it earlier than the next
intern is probably not that useful.