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

Bug 352405

Summary: [Objectivity] Make Objy test suites 'optimizing'
Product: [Modeling] EMF Reporter: Caspar D. <caspar_d>
Component: cdo.coreAssignee: Caspar D. <caspar_d>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: saulius.tvarijonas, stepper
Version: 4.8   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Error log none

Description Caspar D. CLA 2011-07-19 02:10:51 EDT

    
Comment 1 Caspar D. CLA 2011-07-19 05:06:29 EDT
In principle, this should be as easy as adding the following to
ObjyStoreRepositoryConfig.java:

  @Override
  protected boolean isOptimizing()
  {
    return true;
  }

But... with the RepoConfig amended thus, execution of 
"CDO AllTests (Objectivity) Branching.launch" consistently
causes VM termination during execution of InitialTest.testDirectResource:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fedce9fa45e, pid=3783, tid=140659226412800
#
# JRE version: 6.0_26-b03
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.1-b02 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [liboojava.so+0xb745e]  Java_com_objy_pm_ExternalInterface_jooTreeBasedCollection_1size+0x46
#
# An error report file with more information is saved as:
# /home/caspar/svn/cdo-pub-trunk.2/plugins/org.eclipse.emf.cdo.tests.objectivity/hs_err_pid3783.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

Note the bottom 2 lines of the error report. The problem is not in the
VM, but in Objy's native lib...
Comment 2 Caspar D. CLA 2011-07-19 05:08:56 EDT
Created attachment 199885 [details]
Error log

Attaching detailed error log.
Comment 3 Eike Stepper CLA 2012-08-14 22:56:33 EDT
Moving all open issues to 4.2. Open bugs can be ported to 4.1 maintenance after they've been fixed in master.
Comment 4 Eike Stepper CLA 2013-06-27 04:06:53 EDT
Moving all outstanding enhancements to 4.3
Comment 5 Eike Stepper CLA 2014-08-19 09:24:50 EDT
Moving all open enhancement requests to 4.4
Comment 6 Eike Stepper CLA 2014-08-19 09:35:50 EDT
Moving all open enhancement requests to 4.4
Comment 7 Eike Stepper CLA 2015-07-14 02:19:27 EDT
Moving all open bugzillas to 4.5.
Comment 8 Eike Stepper CLA 2016-07-31 01:02:10 EDT
Moving all unaddressed bugzillas to 4.6.
Comment 9 Eike Stepper CLA 2017-12-28 01:18:28 EST
Moving all open bugs to 4.7
Comment 10 Eike Stepper CLA 2019-11-08 02:17:18 EST
Moving all unresolved issues to version 4.8-
Comment 11 Eike Stepper CLA 2019-11-08 02:42:16 EST
Objectivity support has been deprecated, see bug 552307.