Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311937 - fxntab and heaps
Summary: fxntab and heaps
Status: ASSIGNED
Alias: None
Product: RTSC
Classification: Technology
Component: Runtime (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Sasha Slijepcevic CLA
QA Contact:
URL:
Whiteboard: target:3.40
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-06 13:06 EDT by Chris McCormick CLA
Modified: 2014-03-11 15:07 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris McCormick CLA 2010-05-06 13:06:03 EDT
There is a test case, regresstest/src/rovtests/InstanceTest1 which was failing because it set Defaults.common$.fxntab = false; but was dynamically creating some instances. Dynamic instance creation references the instance heap abstractly and needs the function table to be present.

InstanceTest1.cfg contains a line HeapMin.common$.fxntab = true; to get it working. Removing this line should reproduce the issue.

A couple points:
1. We may be able to avoid this issue by knowing whether function tables are needed for a particular module and setting fxntab = true behind the scenes.

2. If the function table is not present, it'd be nice if this resulted in a build or runtime error rather than executing bad memory.