------- Comment #7 from aph at gcc dot gnu dot org  2008-09-23 13:52 -------
Subject: Bug 8995

Author: aph
Date: Tue Sep 23 13:51:58 2008
New Revision: 140593

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140593
Log:
2008-09-17  Andrew Haley  <[EMAIL PROTECTED]>

        PR libgcj/8995:

        * defineclass.cc (_Jv_ClassReader::handleCodeAttribute):
        Initialize thread_count.
        * include/java-interp.h (_Jv_InterpMethod::thread_count): New
        field.
         (_Jv_InterpMethod::rewrite_insn_mutex): New mutex.
        (_Jv_InterpFrame:: _Jv_InterpFrame): Pass frame_type.
        * interpret.cc
        (ThreadCountAdjuster): New class.
        (_Jv_InterpMethod::thread_count): New field.
        (_Jv_InitInterpreter): Initialize rewrite_insn_mutex.
        Increment and decrement thread_count field in methods.
        * interpret-run.cc (REWRITE_INSN): Check thread_count <= 1.
        (REWRITE_INSN): Likewise.
        Declare a ThreadCountAdjuster.
        * java/lang/reflect/natVMProxy.cc (run_proxy): Initialize frame
        type as frame_proxy.


Modified:
    trunk/libjava/ChangeLog
    trunk/libjava/defineclass.cc
    trunk/libjava/include/java-interp.h
    trunk/libjava/interpret-run.cc
    trunk/libjava/interpret.cc
    trunk/libjava/java/lang/reflect/natVMProxy.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8995

Reply via email to