[JBoss JIRA] (ISPN-12040) remoteCache.withFlags(Flag.SKIP_CACHE_LOAD).size() is returning all values in the cache
by Gustavo Lira e Silva (Jira)
[ https://issues.redhat.com/browse/ISPN-12040?page=com.atlassian.jira.plugi... ]
Gustavo Lira e Silva updated ISPN-12040:
----------------------------------------
Description: {{remoteCache.withFlags(Flag.SKIP_CACHE_LOAD).size()}} should only return the total number of in-memory entries for HotRod (was: {{{{remoteCache.withFlags(Flag.SKIP_CACHE_LOAD).size() }}}}should only return the total number of in-memory entries for HotRod)
> remoteCache.withFlags(Flag.SKIP_CACHE_LOAD).size() is returning all values in the cache
> ---------------------------------------------------------------------------------------
>
> Key: ISPN-12040
> URL: https://issues.redhat.com/browse/ISPN-12040
> Project: Infinispan
> Issue Type: Bug
> Components: Hot Rod
> Affects Versions: 11.0.0.Final
> Reporter: Gustavo Lira e Silva
> Assignee: Will Burns
> Priority: Major
>
> {{remoteCache.withFlags(Flag.SKIP_CACHE_LOAD).size()}} should only return the total number of in-memory entries for HotRod
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months
[JBoss JIRA] (ISPN-12030) BlockHound is not active on JDK 13/14
by Will Burns (Jira)
[ https://issues.redhat.com/browse/ISPN-12030?page=com.atlassian.jira.plugi... ]
Will Burns updated ISPN-12030:
------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 12.0.0.Final
Resolution: Done
> BlockHound is not active on JDK 13/14
> -------------------------------------
>
> Key: ISPN-12030
> URL: https://issues.redhat.com/browse/ISPN-12030
> Project: Infinispan
> Issue Type: Bug
> Components: Build, Test Suite
> Affects Versions: 11.0.0.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Fix For: 12.0.0.Final, 11.0.1.Final
>
>
> BlockHound cannot instrument native methods on JDK 13+
> {noformat}
> 15:04:47,001 FATAL (Thread-0) [Infinispan-TEST] Throwable was not caught in thread Thread[Thread-0,5,main] - exception is: java.lang.IllegalStateException: The instrumentation have failed.
> It looks like you're running on JDK 13+.
> You need to add '-XX:+AllowRedefinitionToAddDeleteMethods' JVM flag.
> See https://github.com/reactor/BlockHound/issues/33 for more info.
> {noformat}
> Maven profile {{java13-test}} is supposed to add flag -XX:+AllowRedefinitionToAddDeleteMethods to the fork JVM, but it doesn't work because the activation condition is incomplete (missing a {{)}} after the comma).
> The profile also tries to add the flag when the {{java8-test}} profile is selected from the command line, so adding the missing {{)}} is not enough.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months