Coder Social home page Coder Social logo

blog.corly.cc's People

Contributors

corlydream avatar

Watchers

James Cloos avatar  avatar

blog.corly.cc's Issues

装饰模式 | CoderMeng

https://corly.cc/2015/07/25/%E8%A3%85%E9%A5%B0%E6%A8%A1%E5%BC%8F/

概念 动态地给对象添加一些额外的职责。就功能来说装饰模式比生成子类更为灵活。 在许多设计中,可能需要改进类的某个对象的功能,而不是该类创建的全部对象。例如,麻雀类的实例能连续飞行100米,如果用麻雀类创建5只麻雀,那么这5只麻雀都能连续飞行100米。假如想让其中一只麻雀能连续飞行150米,那我们应当怎么做呢?我们不想通过修改麻雀类的代码(也可能根本不允许修改)使得麻雀类创建的麻雀能够连续飞行15

Java程序迁移Docker 年轻代GC(ParNew)有毛刺 | CoderMeng

https://corly.cc/2019/11/23/Java%E7%A8%8B%E5%BA%8F%E8%BF%81%E7%A7%BBDocker-%E5%B9%B4%E8%BD%BB%E4%BB%A3GC-ParNew-%E6%9C%89%E6%AF%9B%E5%88%BA/#more

年轻代GC回收时间不稳定,会出现突刺下图是每分钟yong gc 所消耗的时间,没有规律的突刺。年轻代gc 使用的是 ParNew 并发收集, 下图是每分钟yong gc 的次数,可以看出每分钟gc的频率比较稳定。 每分钟gc次数没有变化,gc时间增加了,说明某次gc时间变长了。 一般程序有问题,造成的结果是每次gc时间都比较久。 再看看系统cpu有没有问题,有可能cpu压力比较大 cpu的均

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.