Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 311937

Summary: fxntab and heaps
Product: [Technology] RTSC Reporter: Chris McCormick <c-mccormick>
Component: RuntimeAssignee: Sasha Slijepcevic <sascha>
Status: ASSIGNED --- QA Contact:
Severity: major    
Priority: P3 CC: d-russo, dfriedland
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: target:3.40

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.