Coder Social home page Coder Social logo

javaspecialists's Introduction

javaspecialists

The Java Specialists' Newsletter Sources that contains classes from The Java Specialists' Newsletter

javaspecialists's People

Contributors

kabutz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

javaspecialists's Issues

Improve StripedExecutorService performance.

Hi,
I'm committer on Californium project, a CoAP java implementation.
In this project we also develop a DTLS layer named Scandium in which we use your StripedExecutorService.

Facing some CPU issue, I played with visualVM and see that scheduleNext() method is regularly mentioned in the hot-spot.
I don't think this is the real responsible of my CPU issue, but I was surprised to see this method seems to use more CPU than cryptographic stuff. I suspect the issue is the lock style implementation (mainly in SerialExecutor).

I read that you tried to enhance that, Did you succeed ?
We would like to improve this, do you have any advices or clues about the way to follow ?
Thx

Jobs returned by shutdownNow

The shutdownNow returns a list with wrapper Runnables, created in the SerialExecutor.execute(). Executing these returned wrapper jobs results in potentially multiple removes of the related SerialExecutor, because the drainTo() empties the tasks queue and so every job execution tries to remove its SerialExecutor. That will fire the assert ser_ex == executors.get(stripe); in removeEmptySerialExecutor. Unwrapping these jobs will fix it.

Any/still interest in this improvement? The last change seems to be some time ago ...

You may have a look at my idea to fix it.
eclipse-californium/californium@b04bfeb

issue223 ManagedLivenessQueueDemo

run with jdk 17 throw following exception
Unable to make field private final java.util.concurrent.locks.ReentrantLock java.util.concurrent.LinkedBlockingQueue.takeLock accessible: module java.base does not "opens java.util.concurrent" to unnamed module @f6f4d33

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.