harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Markov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-4310) [buildtest][vts] Test vm/jvmti/events /DataDumpRequest /DataDumpRequest0101 /DataDumpRequest0101.xml is incorrect
Date Fri, 28 Dec 2007 14:08:43 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-4310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mikhail Markov updated HARMONY-4310:
------------------------------------

    Summary: [buildtest][vts] Test vm/jvmti/events /DataDumpRequest /DataDumpRequest0101 /DataDumpRequest0101.xml
is incorrect  (was: Test vm/jvmti/events/DataDumpRequest/DataDumpRequest0101/DataDumpRequest0101.xml
is incorrect)

> [buildtest][vts] Test vm/jvmti/events /DataDumpRequest /DataDumpRequest0101 /DataDumpRequest0101.xml
is incorrect
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4310
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4310
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>            Reporter: Vera Petrashkova
>
> It looks like this test was designed incompletely.
> According to J2SEJVMTI specification:
>     DataDumpRequest event sent by the VM to request the agent to dump its data. 
>     This is just a hint and the agent need not react to this event. 
>     This is useful for processing command-line signals from users. 
> DataDumpEvent never occurs and test fails on RI and on Harmony
> because there was any action to cause this event.
> See DataDumpRequest0101.cpp:
> ---------
> void JNICALL callbackException(prms_EXCPT)
> ...
> #ifdef LINUX
>     fprintf(stderr, "\tnative: kill SIGINT is %d \n", SIGINT);
>     fprintf(stderr, "\tnative: kill getpid() is %d \n", getpid());
>     fflush(stderr);
>     usleep(50000);
>     for (int i = 1 ; i <= 15; i++)
>         kill(i, getpid());
> #else
>     //TODO
> #endif
> ---------------
> This test should be redesigned or removed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message