[JBoss JIRA] (JGRP-2417) Ref-counting for messages
by Bela Ban (Jira)
[ https://issues.redhat.com/browse/JGRP-2417?page=com.atlassian.jira.plugin... ]
Bela Ban updated JGRP-2417:
---------------------------
Fix Version/s: 5.1
(was: 5.0)
> Ref-counting for messages
> -------------------------
>
> Key: JGRP-2417
> URL: https://issues.redhat.com/browse/JGRP-2417
> Project: JGroups
> Issue Type: Feature Request
> Reporter: Bela Ban
> Assignee: Bela Ban
> Priority: Major
> Fix For: 5.1
>
>
> When users do their own memory management, the message passed to {{Channel.send()}} might have a reference to a memory area that's allocated from a pool, and that needs to be returned when done.
> However, the return of a {{Channel.send()}} call does not necessarily mean that the memory area can be reused. If, for example, NAKACK2 or UNICAST3 have the message in their retransmission tables (to potentially retransmit it), then the memory cannot be reused until that message has been purged from the retransmission table.
> Add a reference-counting mechanism to {{Message}} (implemented in {{BaseMessage}}) that allows NAKACK2 or UNICAST3 to increment a ref-count. When a message is purged from the retransmission table, decrement its ref-count. When the ref-count is 0, a callback could be called. The callback could for example return the associated memory chunk back to the memory pool.
> This could possibly be a trait, with a no-op implementation as default. This could be overwritten, ie.
> {code:java}
> Message release() {
> if(refcount <= 0)
> // give associated memory area back to pool
> }
> {code}
> See if this needs to be integrated with {{MessageFactory}} as well.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 6 months
[JBoss JIRA] (DROOLS-4136) R&D how to run scenario simulation tests inside VSCode
by Gabriele Cardosi (Jira)
[ https://issues.redhat.com/browse/DROOLS-4136?page=com.atlassian.jira.plug... ]
Gabriele Cardosi reassigned DROOLS-4136:
----------------------------------------
Assignee: Yeser Amer (was: Gabriele Cardosi)
> R&D how to run scenario simulation tests inside VSCode
> ------------------------------------------------------
>
> Key: DROOLS-4136
> URL: https://issues.redhat.com/browse/DROOLS-4136
> Project: Drools
> Issue Type: Task
> Reporter: Eder Ignatowicz
> Assignee: Yeser Amer
> Priority: Major
>
> The main goal of this JIRA is to research what are the best approaches in order to run scenario simulation tests inside VSCode client-side only distribution.
> Eder's first ideas:
> [1] Run kie-server inside a docker image and run scenario tests via REST API
> [2] Show the result of test execution inside scenario simulation editor
> <add your idea here>
> On future: [1] + investigate if it's possible to show tests execution results inside another junit vscode extension
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 6 months
[JBoss JIRA] (DROOLS-4134) Create a scenario simulation distribution
by Gabriele Cardosi (Jira)
[ https://issues.redhat.com/browse/DROOLS-4134?page=com.atlassian.jira.plug... ]
Gabriele Cardosi closed DROOLS-4134.
------------------------------------
Release Notes Text: Covered by https://issues.redhat.com/browse/DROOLS-3879
Resolution: Duplicate Issue
> Create a scenario simulation distribution
> -----------------------------------------
>
> Key: DROOLS-4134
> URL: https://issues.redhat.com/browse/DROOLS-4134
> Project: Drools
> Issue Type: Task
> Reporter: Eder Ignatowicz
> Assignee: Gabriele Cardosi
> Priority: Major
>
> Create a scenario simulation client-side editor based on our base showcase. This editor will only be able to do a simple POC inside VSCode. For now, we will have a mocked marshaller and we will not run/execute any test scenario. Moreover, also the base data used to create the scenario simulation (DMOs/DMNs) will be hardcoded
> The end result of this JIRA is a scenario simulation editor visible inside VSCode with mocked data.
> This war should be manually included inside the current VSCode extension.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 6 months
[JBoss JIRA] (DROOLS-3439) Prevent selection of specific cells in Scenario Simulation
by Gabriele Cardosi (Jira)
[ https://issues.redhat.com/browse/DROOLS-3439?page=com.atlassian.jira.plug... ]
Gabriele Cardosi reassigned DROOLS-3439:
----------------------------------------
Assignee: Yeser Amer (was: Gabriele Cardosi)
> Prevent selection of specific cells in Scenario Simulation
> ----------------------------------------------------------
>
> Key: DROOLS-3439
> URL: https://issues.redhat.com/browse/DROOLS-3439
> Project: Drools
> Issue Type: Enhancement
> Components: Scenario Simulation and Testing
> Affects Versions: 7.16.0.Final
> Reporter: Jozef Marko
> Assignee: Yeser Amer
> Priority: Optional
> Labels: drools-tools
> Attachments: table.png
>
>
> It would improve the user experience if some of the cells could not be selected at all; specifically cells #, Scenario description, GIVEN, EXPECT, and row numbers, as it should not be possible to change them anyway.
> This follows up keyboard shortcuts implemented as part of DROOLS-2932.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 6 months