You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "weldon washburn (JIRA)" <ji...@apache.org> on 2006/10/07 06:24:21 UTC
[jira] Commented: (HARMONY-1428) [DRLVM] first batch of files for
GCv5, a trace-forward copying collector
[ http://issues.apache.org/jira/browse/HARMONY-1428?page=comments#action_12440641 ]
weldon washburn commented on HARMONY-1428:
------------------------------------------
Build problems when using the current svn HEAD:
1)
the APR header include path does not match up properly. I put an echo statement in gc.xml:
<echo> Using location=${extra.apr.includes}</echo>
and got:
[echo] Using location=C:\t_harmony\drlvm\trunk\build\win_ia32_msvc_debug\semis\extra\apr\include\apr-1
I fixed it by changing gc_platform.h:
///////////////// wjw #include <apr-1/apr_time.h>
///////////////// wjw #include <apr-1/apr_atomic.h>
#include <apr_time.h>
#include <apr_atomic.h>
2)
there seems to be a problem with the threading headers ??? I get the following error messages:
build.native.cpp:
[cc] 18 total files to be compiled.
[cc] cl : Command line warning D4025 : overriding '/Ox' with '/Od'
[cc] verify_live_heap.cpp
[cc] fspace_alloc.cpp
[cc] c:\t_harmony\drlvm\trunk\vm\gc\src\trace_forward\../thread\thread_al
loc.h(32) : error C2146: syntax error : missing ';' before identifier 'thread_ha
ndle'
[cc] c:\t_harmony\drlvm\trunk\vm\gc\src\trace_forward\../thread\thread_al
loc.h(32) : error C2501: 'Alloc_Context::VmThreadHandle' : missing storage-class
or type specifiers
[cc] c:\t_harmony\drlvm\trunk\vm\gc\src\trace_forward\../thread\thread_al
loc.h(32) : error C2501: 'Alloc_Context::thread_handle' : missing storage-class
or type specifiers
[cc] mspace.cpp
[cc] c:\t_harmony\drlvm\trunk\vm\gc\src\mark_compact\../thread\thread_all
oc.h(32) : error C2146: syntax error : missing ';' before identifier 'thread_han
dle'
---------------------> and another approximately 50 or 60 compiler error messages
> [DRLVM] first batch of files for GCv5, a trace-forward copying collector
> ------------------------------------------------------------------------
>
> Key: HARMONY-1428
> URL: http://issues.apache.org/jira/browse/HARMONY-1428
> Project: Harmony
> Issue Type: Improvement
> Components: DRLVM
> Environment: These files were only tested on Windows with VS.NET 2003.
> Reporter: Xiao-Feng Li
> Assigned To: weldon washburn
> Attachments: gc.xml, gc_v5.001.zip, GCv5-mc001.zip, gcv5-r0.10.zip, patch-for-GCv5_r0.10.txt
>
>
> This archive has a couple of files implementing an early version of a trace-forward copying collector for GCv5. It's only a starter with very basic functionalities. It is a generational GC reqiures write barrier implemented in JIT. It was tested with JET, and ran SPECJBB2000 and SPECJVM98.
> The algorithm is depth-first tracing of From-space, and forwarding live objects to To-space (It can forward part of the From-space). The To-space has no real management except for the accomodation of forwarded objects and large objects. So the To-space is going to be replaced by a mark-compaction GC, and the large objects will be managed by a LOS GC.
> In order to minimize the changes to other components of DRLVM, the codes here comply with the original contract between GCv4 and other components. I also borrowed some routine code from GCv4 to avoid repetitive labor work.
> GCv5 is under active development, so please expect quick and big changes to this submitted code base. I will submit new codes from time to time when they are worth a submission. Any comments or codes are more than welcome.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira